From b2d2b047d9733956cc912fa0bea4493e8a70b810 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 18 Oct 2016 21:52:51 +0200 Subject: [PATCH] Added cleanup. --- test/unit/permission_test.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/unit/permission_test.rb b/test/unit/permission_test.rb index 1dc2a59e1..90c47eca6 100644 --- a/test/unit/permission_test.rb +++ b/test/unit/permission_test.rb @@ -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')) + role_permission1.permission_revoke('admin') + end test 'user permission with invalid role' do