1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #29 from larrylv/patch-2

Fix `Person#==` method in test.
This commit is contained in:
Rafael Mendonça França 2014-05-19 14:34:08 -03:00
commit ec47b52b24

View file

@ -14,6 +14,6 @@ class Person
end
def ==(other_person)
other_person.is_a?(Person) && id = other_person.id
other_person.is_a?(Person) && id == other_person.id
end
end
end