diff --git a/src/test/groovy/org/ultramine/permission/PermissionRepositoryTest.groovy b/src/test/groovy/org/ultramine/permission/PermissionRepositoryTest.groovy index 62f72e0..8e6f496 100644 --- a/src/test/groovy/org/ultramine/permission/PermissionRepositoryTest.groovy +++ b/src/test/groovy/org/ultramine/permission/PermissionRepositoryTest.groovy @@ -7,7 +7,7 @@ class PermissionRepositoryTest extends Specification { - def "Test get proxy permission permission"() { + def "Test get proxy permission"() { setup: def detector = new MockDetector() def perm = Mock(IPermission) { @@ -84,7 +84,7 @@ def proxy = repository.getPermission("key") proxy.subscribe(listener) - and: "And IPermission is registered" + and: "And IChangeablePermission is registered" repository.registerPermission(perm) then: "Listener is notified" @@ -120,7 +120,7 @@ proxy.subscribe(listener) proxy.unsubscribe(listener) - and: "And IPermission is registered" + and: "And IChangeablePermission is registered" repository.registerPermission(perm) then: "0 listener passed to proxy"