diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-08-23 04:26:03 -0700 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-08-23 04:26:03 -0700 |
commit | 5877729379f5892d0dccbee855b2c4f3e199b62f (patch) | |
tree | c9943bb897c5114a360965b46e8edd7e11fc441b /activemodel | |
parent | 447216f3fd3689ad362b2e129256be85bb6fabda (diff) | |
parent | 9f478deaab796f2464c8f105d16b55ef0b02a64d (diff) | |
download | rails-5877729379f5892d0dccbee855b2c4f3e199b62f.tar.gz rails-5877729379f5892d0dccbee855b2c4f3e199b62f.tar.bz2 rails-5877729379f5892d0dccbee855b2c4f3e199b62f.zip |
Merge pull request #11994 from rajcybage/fix_instance
remove not used instance variable
Diffstat (limited to 'activemodel')
-rw-r--r-- | activemodel/test/cases/serializers/xml_serialization_test.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/activemodel/test/cases/serializers/xml_serialization_test.rb b/activemodel/test/cases/serializers/xml_serialization_test.rb index c4cfb0c255..11ee17bb27 100644 --- a/activemodel/test/cases/serializers/xml_serialization_test.rb +++ b/activemodel/test/cases/serializers/xml_serialization_test.rb @@ -53,8 +53,7 @@ class XmlSerializationTest < ActiveModel::TestCase @contact.address.city = "Springfield" @contact.address.apt_number = 35 @contact.friends = [Contact.new, Contact.new] - @related_contact = SerializableContact.new - @contact.contact = @related_contact + @contact.contact = SerializableContact.new end test "should serialize default root" do |