summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2009-02-18 22:03:36 -0600
committerLuke Kanies <luke@madstop.com>2009-02-18 22:03:36 -0600
commit3105b5bb33639fb8a39234adfa84f354e7189785 (patch)
treeeea0fab20cfd08925ffbe218374a4940af0b14de
parentc854c593777f31de155f6c4dbd1292dff2f936d5 (diff)
downloadpuppet-3105b5bb33639fb8a39234adfa84f354e7189785.tar.gz
puppet-3105b5bb33639fb8a39234adfa84f354e7189785.tar.xz
puppet-3105b5bb33639fb8a39234adfa84f354e7189785.zip
Fixing a warning in a test
Signed-off-by: Luke Kanies <luke@madstop.com>
-rwxr-xr-xspec/unit/application/puppetdoc.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/application/puppetdoc.rb b/spec/unit/application/puppetdoc.rb
index fcb000e0a..c7822bed0 100755
--- a/spec/unit/application/puppetdoc.rb
+++ b/spec/unit/application/puppetdoc.rb
@@ -81,7 +81,7 @@ describe "puppetdoc" do
end
it "should store the mode if valid" do
- Puppet::Util::Reference.stubs(:modes).returns(stub 'mode', :include? => true)
+ Puppet::Util::Reference.stubs(:modes).returns(stub('mode', :include? => true))
@puppetdoc.options.expects(:[]=).with(:mode, :mode)
@@ -340,4 +340,4 @@ describe "puppetdoc" do
end
end
-end \ No newline at end of file
+end