Permalink
Browse files

Merge pull request #11994 from rajcybage/fix_instance

remove not used instance variable
  • Loading branch information...
carlosantoniodasilva committed Aug 23, 2013
1 parent 1c96c0b commit 1daf1c1a76ddbeb06af37eff6e8ddca17811058d
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 1daf1c1

Please sign in to comment.