Added cleanup.

This commit is contained in:
Martin Edenhofer 2016-10-18 21:52:51 +02:00
parent 330a38925c
commit b2d2b047d9

View file

@ -71,6 +71,8 @@ class PermissionTest < ActiveSupport::TestCase
assert_equal(true, user_with_permission1.permissions?('admin.permission2')) assert_equal(true, user_with_permission1.permissions?('admin.permission2'))
assert_equal(true, user_with_permission1.permissions?('admin')) assert_equal(true, user_with_permission1.permissions?('admin'))
role_permission1.permission_revoke('admin')
end end
test 'user permission with invalid role' do test 'user permission with invalid role' do