spec/support/models/star.rb in arstotzka-1.4.2 vs spec/support/models/star.rb in arstotzka-1.4.3
- old
+ new
@@ -12,9 +12,10 @@
color == 'yellow'
end
def ==(other)
return false unless other.is_a?(self.class)
+
other.color == color &&
other.name == name
end
end