spec/support/models/customer.rb in arstotzka-1.4.2 vs spec/support/models/customer.rb in arstotzka-1.4.3
- old
+ new
@@ -12,9 +12,10 @@
age >= 18
end
def ==(other)
return false unless other.class == self.class
+
other.name == name &&
other.age == age
end
end