diff options
author | Luke Kanies <luke@madstop.com> | 2008-09-23 23:50:43 -0500 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2008-09-23 23:50:43 -0500 |
commit | bb23861e334e617b544c11bc75a35c40b36185a2 (patch) | |
tree | 18da91858e4fded78a56d673fc69014fdf266676 /spec/integration/file_serving/configuration.rb | |
parent | e31df2f7f5e98c524b68cd724cfaa3e308e7b9a1 (diff) | |
parent | ac5db5ec115455e54090542870847820357739a2 (diff) | |
download | puppet-bb23861e334e617b544c11bc75a35c40b36185a2.tar.gz puppet-bb23861e334e617b544c11bc75a35c40b36185a2.tar.xz puppet-bb23861e334e617b544c11bc75a35c40b36185a2.zip |
Merge branch 'feature/master/1481'
This merges in the new fileserving code -- we're now using
REST to do fileserving, rather than xmlrpc.
Conflicts:
lib/puppet/parameter.rb
lib/puppet/type/file.rb
spec/unit/type/file.rb
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 |