summaryrefslogtreecommitdiffstats
path: root/spec/lib
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2007-10-22 22:33:06 -0500
committerLuke Kanies <luke@madstop.com>2007-10-22 22:33:06 -0500
commit7fa99b08f9aa3777fba82f24eb5bb391f3758f48 (patch)
treea9dc23c0cdf3ecbc4a177086a5c699ad4f3b00f2 /spec/lib
parent688fcdf11a685dfda297beff50de8d4c751494d9 (diff)
downloadpuppet-7fa99b08f9aa3777fba82f24eb5bb391f3758f48.tar.gz
puppet-7fa99b08f9aa3777fba82f24eb5bb391f3758f48.tar.xz
puppet-7fa99b08f9aa3777fba82f24eb5bb391f3758f48.zip
Link handling is now in the file serving classes.
This was done by putting all of the functionality in the Content and Metadata class (actually, in a new base class for them). There are still some issues, and there need to be integration tests between the :local (soon to be renamed :file) termini for these classes.
Diffstat (limited to 'spec/lib')
-rw-r--r--spec/lib/shared_behaviours/file_server_terminus.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/shared_behaviours/file_server_terminus.rb b/spec/lib/shared_behaviours/file_server_terminus.rb
index c18d74f81..e1ec35251 100644
--- a/spec/lib/shared_behaviours/file_server_terminus.rb
+++ b/spec/lib/shared_behaviours/file_server_terminus.rb
@@ -32,7 +32,7 @@ describe "Puppet::Indirector::FileServerTerminus", :shared => true do
path = "/my/mount/path/my/file"
FileTest.stubs(:exists?).with(path).returns(true)
- @test_class.expects(:new).with(path).returns(:myinstance)
+ @test_class.expects(:new).with(path, :links => nil).returns(:myinstance)
FileTest.stubs(:exists?).with("/my/mount/path").returns(true)
@mount1.expects(:file).with("my/file", :node => nil).returns(path)