diff options
Diffstat (limited to 'activemodel/test/cases/serializers/xml_serialization_test.rb')
-rw-r--r-- | activemodel/test/cases/serializers/xml_serialization_test.rb | 2 |
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 |