Permalink
Browse files

Fix build on 1.8.7.

We can't count on hash ordering.
  • Loading branch information...
1 parent 03c90c5 commit 8d6ce71e20b27ccab4b78dd0992fd8427668c03c @myronmarston myronmarston committed Apr 30, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/unit/interpol/endpoint_spec.rb
@@ -331,7 +331,7 @@ def new_with(hash)
schema['properties']['foo']['minItems'] = 'foo'
expect {
subject.validate_data!('foo' => 17)
- }.to raise_error(ValidationError, /Data:\s+{"type"=>"object"/m)
+ }.to raise_error(ValidationError, /Data:\s+{"/m)
end
it 'rejects unrecognized data types' do

0 comments on commit 8d6ce71

Please sign in to comment.