summaryrefslogtreecommitdiffstats
path: root/spec/unit/file_serving/metadata_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/file_serving/metadata_spec.rb')
-rwxr-xr-xspec/unit/file_serving/metadata_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/file_serving/metadata_spec.rb b/spec/unit/file_serving/metadata_spec.rb
index a55396577..42bbf3b69 100755
--- a/spec/unit/file_serving/metadata_spec.rb
+++ b/spec/unit/file_serving/metadata_spec.rb
@@ -122,12 +122,12 @@ describe Puppet::FileServing::Metadata, " when finding the file to use for setti
it "should use the set base path if one is not provided" do
File.expects(:lstat).with(@path).returns @stat
File.expects(:readlink).with(@path).returns "/what/ever"
- @metadata.collect()
+ @metadata.collect
end
it "should raise an exception if the file does not exist" do
File.expects(:lstat).with(@path).raises(Errno::ENOENT)
- proc { @metadata.collect()}.should raise_error(Errno::ENOENT)
+ proc { @metadata.collect}.should raise_error(Errno::ENOENT)
end
end