From a50ab21cd164cd42eadd877d739d3eec5a24f410 Mon Sep 17 00:00:00 2001 From: Carlos Antonio da Silva Date: Fri, 30 Nov 2012 11:29:41 -0200 Subject: Use 1.8 hash style in xml serialization test --- activemodel/test/cases/serializers/xml_serialization_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activemodel/test/cases/serializers') 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?(%()) end end -- cgit v1.2.3