summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2009-12-04 16:50:38 -0800
committertest branch <puppet-dev@googlegroups.com>2010-02-17 06:50:53 -0800
commit490a03d55e57a5a54202207b44eb406dda4c8c65 (patch)
tree3d929b2346cf7ee47a906ef3c19e2e1f5e2a79a8
parent576accd675e43c6bf7af1c8e0f66151f798a4820 (diff)
downloadpuppet-490a03d55e57a5a54202207b44eb406dda4c8c65.tar.gz
puppet-490a03d55e57a5a54202207b44eb406dda4c8c65.tar.xz
puppet-490a03d55e57a5a54202207b44eb406dda4c8c65.zip
Cleaning up a test.
Signed-off-by: Luke Kanies <luke@madstop.com>
-rwxr-xr-xspec/unit/indirector/file.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/unit/indirector/file.rb b/spec/unit/indirector/file.rb
index 4b3532e24..fd56aa6c7 100755
--- a/spec/unit/indirector/file.rb
+++ b/spec/unit/indirector/file.rb
@@ -25,7 +25,7 @@ describe Puppet::Indirector::File do
@request = stub 'request', :key => @path
end
- describe Puppet::Indirector::File, " when finding files" do
+ describe "when finding files" do
it "should provide a method to return file contents at a specified path" do
@searcher.should respond_to(:find)
end
@@ -76,7 +76,7 @@ describe Puppet::Indirector::File do
end
end
- describe Puppet::Indirector::File, " when saving files" do
+ describe "when saving files" do
before do
@content = "my content"
@file = stub 'file', :content => @content, :path => @path, :name => @path, :render => "mydata"
@@ -141,7 +141,7 @@ describe Puppet::Indirector::File do
end
end
- describe Puppet::Indirector::File, " when removing files" do
+ describe "when removing files" do
it "should provide a method to remove files" do
@searcher.should respond_to(:destroy)
end