mirror of
https://github.com/github/rails.git
synced 2026-01-09 14:48:01 -05:00
Use 1.8 hash style in xml serialization test
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user