summaryrefslogtreecommitdiffstats
path: root/test/network/handler
diff options
context:
space:
mode:
Diffstat (limited to 'test/network/handler')
-rwxr-xr-xtest/network/handler/fileserver.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/network/handler/fileserver.rb b/test/network/handler/fileserver.rb
index 9bd26ac07..5158f51ca 100755
--- a/test/network/handler/fileserver.rb
+++ b/test/network/handler/fileserver.rb
@@ -544,13 +544,13 @@ class TestFileServer < Test::Unit::TestCase
host, ip = sub
case type
- when :deny:
+ when :deny
assert_raise(Puppet::AuthorizationError,
"Host %s, ip %s, allowed %s" %
[host, ip, mount]) {
list = server.list(mount, :manage, true, false, host, ip)
}
- when :allow:
+ when :allow
assert_nothing_raised("Host %s, ip %s, denied %s" %
[host, ip, mount]) {
list = server.list(mount, :manage, true, false, host, ip)