diff options
author | Luke Kanies <luke@madstop.com> | 2007-10-22 22:37:52 -0500 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2007-10-22 22:37:52 -0500 |
commit | de5d91e2036de2934a4eec79d35a714f3ed24b10 (patch) | |
tree | 1f6c074f749b9eb513baefaac7ac7cc952b381cb /spec/lib | |
parent | 7fa99b08f9aa3777fba82f24eb5bb391f3758f48 (diff) | |
download | puppet-de5d91e2036de2934a4eec79d35a714f3ed24b10.tar.gz puppet-de5d91e2036de2934a4eec79d35a714f3ed24b10.tar.xz puppet-de5d91e2036de2934a4eec79d35a714f3ed24b10.zip |
Renaming the :local termini for metadata and content
to :file.
Diffstat (limited to 'spec/lib')
-rw-r--r-- | spec/lib/shared_behaviours/file_serving.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/lib/shared_behaviours/file_serving.rb b/spec/lib/shared_behaviours/file_serving.rb index b0aa14fc0..6eaec6850 100644 --- a/spec/lib/shared_behaviours/file_serving.rb +++ b/spec/lib/shared_behaviours/file_serving.rb @@ -36,15 +36,15 @@ describe "Puppet::FileServing::Files", :shared => true do @test_class.find(uri) end - it "should use the local terminus when the 'file' URI scheme is used" do + it "should use the file terminus when the 'file' URI scheme is used" do uri = "file:///mymod/my/file" - @indirection.terminus(:local).expects(:find).with(uri) + @indirection.terminus(:file).expects(:find).with(uri) @test_class.find(uri) end - it "should use the local terminus when a fully qualified path is provided" do + it "should use the file terminus when a fully qualified path is provided" do uri = "/mymod/my/file" - @indirection.terminus(:local).expects(:find).with(uri) + @indirection.terminus(:file).expects(:find).with(uri) @test_class.find(uri) end end |