summaryrefslogtreecommitdiffstats
path: root/spec/unit/file_serving/content_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/file_serving/content_spec.rb')
-rwxr-xr-xspec/unit/file_serving/content_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/file_serving/content_spec.rb b/spec/unit/file_serving/content_spec.rb
index f772b861f..e86e26a00 100755
--- a/spec/unit/file_serving/content_spec.rb
+++ b/spec/unit/file_serving/content_spec.rb
@@ -93,12 +93,12 @@ describe Puppet::FileServing::Content, "when returning the contents" do
end
it "should fail if a path is not set" do
- proc { @content.content() }.should raise_error(Errno::ENOENT)
+ proc { @content.content }.should raise_error(Errno::ENOENT)
end
it "should raise Errno::ENOENT if the file is absent" do
@content.path = "/there/is/absolutely/no/chance/that/this/path/exists"
- proc { @content.content() }.should raise_error(Errno::ENOENT)
+ proc { @content.content }.should raise_error(Errno::ENOENT)
end
it "should return the contents of the path if the file exists" do