Permalink
Browse files

Merge pull request #11994 from rajcybage/fix_instance

remove not used instance variable
  • Loading branch information...
2 parents 447216f + 9f478de commit 5877729379f5892d0dccbee855b2c4f3e199b62f @carlosantoniodasilva carlosantoniodasilva 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 5877729

Please sign in to comment.