Permalink
Browse files

remove unused instance variable

  • Loading branch information...
1 parent bfd7e8a commit 9f478deaab796f2464c8f105d16b55ef0b02a64d Rajarshi Das committed Aug 23, 2013
Showing with 1 addition and 2 deletions.
  1. +1 −2 activemodel/test/cases/serializers/xml_serialization_test.rb
@@ -53,8 +53,7 @@ def setup
@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

0 comments on commit 9f478de

Please sign in to comment.