Please review pull request #781: Fix failing spec tests for module tool opened by (cprice-puppet)
Description:
- Opened: Tue May 15 17:39:17 UTC 2012
- Based on: puppetlabs:master (70a43c2afe319bc79430f8316cedd16d7cf07dbd)
- Requested merge: cprice-puppet:cleanup/master/windows-module-tool-spec-failures (c939e3c0ae1b4ccfa8b22a82f3a7d97c1086b535)
Diff follows:
diff --git a/spec/unit/module_tool_spec.rb b/spec/unit/module_tool_spec.rb
index 53e778b..bbe242a 100755
--- a/spec/unit/module_tool_spec.rb
+++ b/spec/unit/module_tool_spec.rb
@@ -149,7 +149,7 @@
describe ':target_dir' do
let (:sep) { File::PATH_SEPARATOR }
- let (:my_fake_path) { "/my/fake/dir#{sep}/my/other/dir"}
+ let (:my_fake_path) { make_absolute("/my/fake/dir#{sep}/my/other/dir") }
let (:options) { {:modulepath => my_fake_path}}
describe "when not specified" do
it "should set options[:target_dir]" do
@@ -162,7 +162,7 @@
end
end
describe "when specified" do
- let (:my_target_dir) { "/foo/bar" }
+ let (:my_target_dir) { make_absolute("/foo/bar") }
before(:each) do
options[:target_dir] = my_target_dir
end
-- 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.
