diff --git a/test/models/person.rb b/test/models/person.rb index 6e91e8b9a2a7bb8e5b7faa7f001bc2ba34bfa98d..fb12c1c614d4f5f8fc9663bad0e13dfd3d36eca0 100644 --- a/test/models/person.rb +++ b/test/models/person.rb @@ -14,6 +14,6 @@ def initialize(id) end def ==(other_person) - other_person.is_a?(Person) && id = other_person.id + other_person.is_a?(Person) && id == other_person.id end -end \ No newline at end of file +end