aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/serializers
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-11-30 11:29:41 -0200
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-11-30 11:29:41 -0200
commita50ab21cd164cd42eadd877d739d3eec5a24f410 (patch)
tree2e090351da359397b3b7dcff1420926a58dca16a /activemodel/test/cases/serializers
parent25a15a7986ef421cb599d66b2c51ea4345416394 (diff)
downloadrails-a50ab21cd164cd42eadd877d739d3eec5a24f410.tar.gz
rails-a50ab21cd164cd42eadd877d739d3eec5a24f410.tar.bz2
rails-a50ab21cd164cd42eadd877d739d3eec5a24f410.zip
Use 1.8 hash style in xml serialization test
Diffstat (limited to 'activemodel/test/cases/serializers')
-rw-r--r--activemodel/test/cases/serializers/xml_serialization_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/test/cases/serializers/xml_serialization_test.rb b/activemodel/test/cases/serializers/xml_serialization_test.rb
index a93db629a9..62c2b2035f 100644
--- a/activemodel/test/cases/serializers/xml_serialization_test.rb
+++ b/activemodel/test/cases/serializers/xml_serialization_test.rb
@@ -208,7 +208,7 @@ class XmlSerializationTest < ActiveModel::TestCase
end
test "association with sti" do
- xml = @contact.to_xml(include: :contact)
+ xml = @contact.to_xml(:include => :contact)
assert xml.include?(%(<contact type="SerializableContact">))
end
end