summaryrefslogtreecommitdiffstats
path: root/test/network
diff options
context:
space:
mode:
Diffstat (limited to 'test/network')
-rwxr-xr-xtest/network/client/resource.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/network/client/resource.rb b/test/network/client/resource.rb
index ba84fc27e..c73690170 100755
--- a/test/network/client/resource.rb
+++ b/test/network/client/resource.rb
@@ -42,10 +42,7 @@ class TestResourceClient < Test::Unit::TestCase
assert_instance_of(Puppet::TransObject, tresource)
resource = tresource.to_ral
- assert_events([], resource)
- File.unlink(file)
- assert_events([:file_created], resource)
- File.unlink(file)
+ assert_equal(File.stat(file).mode & 007777, resource[:mode], "Did not get mode")
# Now test applying
result = client.apply(tresource)