spec/roles_spec.rb in be9-acl9-0.9.2 vs spec/roles_spec.rb in be9-acl9-0.9.3
- old
+ new
@@ -254,7 +254,10 @@
@subj.has_role?('admin').should be_true
@subj2.has_role?('admin').should be_false
@subj.has_role?(:user, @foobar).should be_true
@subj2.has_role?(:user, @foobar).should be_false
+
+ @subj.has_no_roles!
+ @subj2.has_no_roles!
end
end