Enabling regression tests again
parent
a20100f3f8
commit
d957addfc3
|
|
@ -4,7 +4,7 @@ Be sure to remember to do the following for releases. (Copy into a GitHub issue)
|
||||||
- [ ] README is updated
|
- [ ] README is updated
|
||||||
- [ ] Samples are updated
|
- [ ] Samples are updated
|
||||||
- [ ] `rake doc`
|
- [ ] `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
|
- [ ] Bump version.rb
|
||||||
- [ ] Do a full rake locally
|
- [ ] Do a full rake locally
|
||||||
- [ ] `rake sanity`, and check visually
|
- [ ] `rake sanity`, and check visually
|
||||||
|
|
|
||||||
|
|
@ -73,7 +73,7 @@ describe "Squib samples" do
|
||||||
log = StringIO.new
|
log = StringIO.new
|
||||||
mock_cairo(log)
|
mock_cairo(log)
|
||||||
load sample
|
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
|
test_file_str = File.open(sample_regression_file(sample), 'r:UTF-8').read
|
||||||
expect(log.string).to eq(test_file_str)
|
expect(log.string).to eq(test_file_str)
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue