aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/models/person.rb4
1 files changed, 2 insertions, 2 deletions
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