aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRajarshi Das <rajarshid@cybage.com>2013-08-23 15:40:09 +0530
committerRajarshi Das <rajarshid@cybage.com>2013-08-23 16:04:08 +0530
commit9f478deaab796f2464c8f105d16b55ef0b02a64d (patch)
treef63a5e8d4f4f46d3e34d1938123acd71ddd3db1c
parentbfd7e8ac4c8da17b98c7f1c1a307b1295bc32c3b (diff)
downloadrails-9f478deaab796f2464c8f105d16b55ef0b02a64d.tar.gz
rails-9f478deaab796f2464c8f105d16b55ef0b02a64d.tar.bz2
rails-9f478deaab796f2464c8f105d16b55ef0b02a64d.zip
remove unused instance variable
-rw-r--r--activemodel/test/cases/serializers/xml_serialization_test.rb3
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