spec/metaprogramming_spec.rb in permissive-0.2.7.alpha vs spec/metaprogramming_spec.rb in permissive-0.2.8.alpha
- old
+ new
@@ -10,10 +10,10 @@
to :control_rides, 1
to :punch, 2
end
Permissive::User.has_permissions(:on => :organizations) do
- to :punch, 0
+ to :manage_games, 0
end
@user = Permissive::User.create
@organization = Permissive::Organization.create
@user.can!(:control_rides)
\ No newline at end of file