Skip to content

Commit

Permalink
Compare payload sizes in tests, so that CI is happy
Browse files Browse the repository at this point in the history
Comparing actual binary content did not turn out to be the greatest idea. For
some reason, it passes in my local machine, but not in CI

[#12]
  • Loading branch information
gonzedge committed Jan 19, 2017
1 parent 0e80063 commit d49834d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/support/shared_examples/a_serializer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
end

it 'converts the contents to the appropriate format' do
expect(File.read filepath).to eq formatted_content
expect(File.read(filepath).size).to eq formatted_content.size
end
end

Expand Down

0 comments on commit d49834d

Please sign in to comment.