diff options
| author | Luke Kanies <luke@madstop.com> | 2009-04-02 19:41:17 -0500 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2009-04-02 19:41:17 -0500 |
| commit | a677e26eb1452c08d7724047a18e50f4a654d2cd (patch) | |
| tree | 1a615f93e0504527db08ff29bd71e7d754228747 /test/network | |
| parent | e016307f00fe67dc53f8581f08c1dfb5ab7dfb3b (diff) | |
| download | puppet-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-x | test/network/client/resource.rb | 5 |
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) |
