Browse Source

Enabling regression tests again

dev
Andy Meneely 11 years ago
parent
commit
d957addfc3
  1. 2
      RELEASE TODO.md
  2. 2
      spec/samples/samples_regression_spec.rb

2
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

2
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

Loading…
Cancel
Save