diff options
Diffstat (limited to 'spec/integration/file_serving/configuration.rb')
-rwxr-xr-x | spec/integration/file_serving/configuration.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/integration/file_serving/configuration.rb b/spec/integration/file_serving/configuration.rb index cb5a23d3b..dfdda402d 100755 --- a/spec/integration/file_serving/configuration.rb +++ b/spec/integration/file_serving/configuration.rb @@ -29,12 +29,12 @@ describe Puppet::FileServing::Configuration, " when finding files with Puppet::F it "should return nil if the file does not exist" do FileTest.expects(:exists?).with("/my/path/my/file").returns(false) - @config.file_path("/mymount/my/file").should be_nil + @config.file_path("mymount/my/file").should be_nil end it "should return the full file path if the file exists" do FileTest.expects(:exists?).with("/my/path/my/file").returns(true) - @config.file_path("/mymount/my/file").should == "/my/path/my/file" + @config.file_path("mymount/my/file").should == "/my/path/my/file" end after do |