summaryrefslogtreecommitdiffstats
path: root/test/network
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2009-04-02 19:41:17 -0500
committerLuke Kanies <luke@madstop.com>2009-04-02 19:41:17 -0500
commita677e26eb1452c08d7724047a18e50f4a654d2cd (patch)
tree1a615f93e0504527db08ff29bd71e7d754228747 /test/network
parente016307f00fe67dc53f8581f08c1dfb5ab7dfb3b (diff)
downloadpuppet-a677e26eb1452c08d7724047a18e50f4a654d2cd.tar.gz
puppet-a677e26eb1452c08d7724047a18e50f4a654d2cd.tar.xz
puppet-a677e26eb1452c08d7724047a18e50f4a654d2cd.zip
Fixing all tests that were apparently broken in the 0.24.x merge.
Signed-off-by: Luke Kanies <luke@madstop.com>
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)