spec/spec_helper/user.rb in rad_kit-0.0.6 vs spec/spec_helper/user.rb in rad_kit-0.0.7

- old
+ new

@@ -3,12 +3,11 @@ field :name, type: String include Mongoid::Authorized - def anonymous? - name == 'anonymous' - end + # def self.anonymous_name; 'anonymous' end + # def anonymous?; name == self.class.anonymous_name end class << self def avatar_url *a; end inject current: :user \ No newline at end of file