diff options
Diffstat (limited to 'spec/lib/shared_behaviours/file_serving.rb')
-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 |