Signed-off-by: Paul Nasrat <[EMAIL PROTECTED]>
---
spec/unit/type/file.rb | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/spec/unit/type/file.rb b/spec/unit/type/file.rb
index 9fb1900..3e94bc1 100755
--- a/spec/unit/type/file.rb
+++ b/spec/unit/type/file.rb
@@ -139,11 +139,7 @@ describe Puppet::Type.type(:file) do
)
@catalog.add_resource @symlink_resource
- @catalog.apply
-
- Dir.entries(@todir).should include("file")
- Dir.entries(@todir).should include("link")
- Dir.entries(@todir).should include("dangling_link")
+ lambda { @symlink_resource.eval_generate }.should_not raise_error
end
end
--
1.5.3.4
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/puppet-dev?hl=en
-~----------~----~----~----~------~----~------~--~---