diff --git a/test/models/person.rb b/test/models/person.rb index 6e91e8b9a2..fb12c1c614 100644 --- a/test/models/person.rb +++ b/test/models/person.rb @@ -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 \ No newline at end of file +end