Skip to content

Commit

Permalink
remove unused instance variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Rajarshi Das committed Aug 23, 2013
1 parent bfd7e8a commit 9f478de
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions activemodel/test/cases/serializers/xml_serialization_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9f478de

Please sign in to comment.