Browse Source

Regression and sanity testing for star

Closes #72
dev
Andy Meneely 11 years ago
parent
commit
b8536bcabe
  1. BIN
      spec/samples/expected/shape_00.png
  2. 2
      spec/samples/samples_regression_spec.rb

BIN
spec/samples/expected/shape_00.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 27 KiB

2
spec/samples/samples_regression_spec.rb

@ -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…
Cancel
Save