spec/dummy/app/models/ability.rb in enju_circulation-0.0.34 vs spec/dummy/app/models/ability.rb in enju_circulation-0.0.35

- old
+ new

@@ -69,10 +69,10 @@ can [:read, :create, :update], Manifestation can :destroy, Manifestation do |manifestation| manifestation.items.empty? and !manifestation.periodical_master? and !manifestation.is_reserved? end when 'User' - can [:index, :create], Checkout + can [:index, :create, :remove_all], Checkout can [:show, :update, :destroy], Checkout do |checkout| checkout.user == user end can :index, Reserve can :create, Reserve do |reserve|