Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #11994 from rajcybage/fix_instance

remove not used instance variable
  • Loading branch information...
commit 1daf1c1a76ddbeb06af37eff6e8ddca17811058d 1 parent 1c96c0b
@carlosantoniodasilva carlosantoniodasilva authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  activemodel/test/cases/serializers/xml_serialization_test.rb
View
3  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
Please sign in to comment.
Something went wrong with that request. Please try again.