diff options
| author | Luke Kanies <luke@madstop.com> | 2008-07-18 15:30:42 -0500 |
|---|---|---|
| committer | James Turnbull <james@lovedthanlost.net> | 2008-07-20 14:20:53 +1000 |
| commit | 238b8d7f0a16eda971409d7423dc1f04cf0e2a34 (patch) | |
| tree | 62d736f402b0498bdc6650914efb599b558bb99e /spec/unit/module.rb | |
| parent | ebb219e496682862ac98d382afe014cf1c763f2f (diff) | |
| download | puppet-238b8d7f0a16eda971409d7423dc1f04cf0e2a34.tar.gz puppet-238b8d7f0a16eda971409d7423dc1f04cf0e2a34.tar.xz puppet-238b8d7f0a16eda971409d7423dc1f04cf0e2a34.zip | |
Fixing #1438 -- mongrel and module tests now pass.
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'spec/unit/module.rb')
| -rwxr-xr-x | spec/unit/module.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/module.rb b/spec/unit/module.rb index 2dadaa501..e79001ae1 100755 --- a/spec/unit/module.rb +++ b/spec/unit/module.rb @@ -143,8 +143,8 @@ describe Puppet::Module, " when searching for manifests when no module is found" it "should look for files relative to the current directory" do cwd = Dir.getwd - Dir.expects(:glob).with("#{cwd}/mymod/init.pp").returns(["#{cwd}/mymod/init.pp"]) - Puppet::Module.find_manifests("mymod/init.pp").should == ["#{cwd}/mymod/init.pp"] + Dir.expects(:glob).with("#{cwd}/foobar/init.pp").returns(["#{cwd}/foobar/init.pp"]) + Puppet::Module.find_manifests("foobar/init.pp").should == ["#{cwd}/foobar/init.pp"] end it "should only return files, not directories" do |
