From d957addfc3a813bdad30e8b49cfeb6a47b20cf0e Mon Sep 17 00:00:00 2001 From: Andy Meneely Date: Tue, 26 May 2015 20:56:58 -0400 Subject: [PATCH] Enabling regression tests again --- RELEASE TODO.md | 2 +- spec/samples/samples_regression_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/RELEASE TODO.md b/RELEASE TODO.md index 118548d..94aacf3 100644 --- a/RELEASE TODO.md +++ b/RELEASE TODO.md @@ -4,7 +4,7 @@ Be sure to remember to do the following for releases. (Copy into a GitHub issue) - [ ] README is updated - [ ] Samples are updated - [ ] `rake doc` - - [ ] Check that sample regression tests are all enabled + - [ ] Check `sample_regression_spec.rb` regression tests are all enabled (i.e. `overwrite_sample` is commented out) - [ ] Bump version.rb - [ ] Do a full rake locally - [ ] `rake sanity`, and check visually diff --git a/spec/samples/samples_regression_spec.rb b/spec/samples/samples_regression_spec.rb index 85d59ff..f8c9e14 100644 --- a/spec/samples/samples_regression_spec.rb +++ b/spec/samples/samples_regression_spec.rb @@ -73,7 +73,7 @@ describe "Squib samples" do log = StringIO.new mock_cairo(log) load sample - overwrite_sample(sample, log) # Use TEMPORARILY once happy with the new sample log + # overwrite_sample(sample, log) # Use TEMPORARILY once happy with the new sample log test_file_str = File.open(sample_regression_file(sample), 'r:UTF-8').read expect(log.string).to eq(test_file_str) end