spec/dummy/app/mongoid/cat.rb in token_action-0.0.1 vs spec/dummy/app/mongoid/cat.rb in token_action-0.0.2

- old
+ new

@@ -5,10 +5,10 @@ class CatError < StandardError; end include TokenAction::TokenGenerator include Mongoid::Document - field :token, :type => String + field :token, type: String def self.redeem_token(action = nil) case action when 'upgrade' raise AnimalError.new