WpUser specs

This commit is contained in:
erwanlr
2013-03-22 17:57:31 +01:00
parent cb9717f6e7
commit 92414d0c2f
2 changed files with 58 additions and 2 deletions

View File

@@ -3,7 +3,6 @@
require 'wp_user/existable'
class WpUser < WpItem
include WpUser::Existable
attr_accessor :id, :login, :display_name, :password
@@ -23,7 +22,7 @@ class WpUser < WpItem
end
def ==(other)
self === (other)
self === other
end
def ===(other)