Permalink
Browse files

Fix failing ARes test due to hash keys ordering

  • Loading branch information...
1 parent 72dc7ae commit d44ffb2bd5c501ecf28e0f02cb75cfe39d0c0a38 @carlosantoniodasilva carlosantoniodasilva committed Mar 29, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 activeresource/test/cases/base/schema_test.rb
@@ -372,8 +372,8 @@ def teardown
assert_nothing_raised { Person.schema = new_schema }
- assert_equal new_schema.keys, Person.known_attributes
- assert_equal new_schema.keys, Person.new.known_attributes
+ assert_equal new_schema.keys.sort, Person.known_attributes.sort
+ assert_equal new_schema.keys.sort, Person.new.known_attributes.sort
end
test "known attributes on a fetched resource should return all the attributes of the instance" do

0 comments on commit d44ffb2

Please sign in to comment.