rspecs
This commit is contained in:
@@ -62,6 +62,10 @@ class WpUser
|
||||
other.name <=> self.name
|
||||
end
|
||||
|
||||
def ==(other)
|
||||
other.name == self.name and other.id == self.id and other.nickname == self.nickname
|
||||
end
|
||||
|
||||
def ===(other)
|
||||
other.name === self.name and other.id === self.id and other.nickname === self.nickname
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user