Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix failing ARes test due to hash keys ordering

  • Loading branch information...
commit d44ffb2bd5c501ecf28e0f02cb75cfe39d0c0a38 1 parent 72dc7ae
Carlos Antonio da Silva authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 activeresource/test/cases/base/schema_test.rb
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 comments on commit d44ffb2

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