Skip to content
This repository
Browse code

Merge pull request #5659 from carlosantoniodasilva/fix-build-3-0

Fix build for branch 3-0-stable - ARes and ordered hash keys
  • Loading branch information...
commit f47a303c3940874b7e4fd4e3ae4f68b1efa5f0ac 2 parents 72dc7ae + d44ffb2
Jeremy Kemper authored March 29, 2012
4  activeresource/test/cases/base/schema_test.rb
@@ -372,8 +372,8 @@ def teardown
372 372
 
373 373
     assert_nothing_raised { Person.schema = new_schema }
374 374
 
375  
-    assert_equal new_schema.keys, Person.known_attributes
376  
-    assert_equal new_schema.keys, Person.new.known_attributes
  375
+    assert_equal new_schema.keys.sort, Person.known_attributes.sort
  376
+    assert_equal new_schema.keys.sort, Person.new.known_attributes.sort
377 377
   end
378 378
 
379 379
   test "known attributes on a fetched resource should return all the attributes of the instance" do

0 notes on commit f47a303

Please sign in to comment.
Something went wrong with that request. Please try again.