aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorVishnu Atrai <me@vishnuatrai.com>2012-03-03 23:48:29 +0530
committerVishnu Atrai <me@vishnuatrai.com>2012-03-03 23:48:29 +0530
commitd8996d3cab5657358656b572f3096a0a14bf0ccb (patch)
treebd8255ebc5ef11c195532d660de74975e18426f8 /activerecord
parent2aec357b7e8e310be107b479224524f12f83d5a5 (diff)
downloadrails-d8996d3cab5657358656b572f3096a0a14bf0ccb.tar.gz
rails-d8996d3cab5657358656b572f3096a0a14bf0ccb.tar.bz2
rails-d8996d3cab5657358656b572f3096a0a14bf0ccb.zip
remove usages of AS::OrderedHash
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/test/cases/nested_attributes_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/nested_attributes_test.rb b/activerecord/test/cases/nested_attributes_test.rb
index 728ac22fda..09276a034e 100644
--- a/activerecord/test/cases/nested_attributes_test.rb
+++ b/activerecord/test/cases/nested_attributes_test.rb
@@ -673,7 +673,7 @@ module NestedAttributesOnACollectionAssociationTests
def test_should_raise_an_argument_error_if_something_else_than_a_hash_is_passed
assert_nothing_raised(ArgumentError) { @pirate.send(association_setter, {}) }
- assert_nothing_raised(ArgumentError) { @pirate.send(association_setter, ActiveSupport::OrderedHash.new) }
+ assert_nothing_raised(ArgumentError) { @pirate.send(association_setter, Hash.new) }
assert_raise_with_message ArgumentError, 'Hash or Array expected, got String ("foo")' do
@pirate.send(association_setter, "foo")