summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorBrice Figureau <brice-puppet@daysofwonder.com>2009-07-18 15:24:12 +0200
committerBrice Figureau <brice-puppet@daysofwonder.com>2009-07-18 15:24:12 +0200
commiteffaf80ae662076e3578c3eb7a18b863ef104bb4 (patch)
treebdc23af09436e4e09291d24bd4f955b3cd6253ca /spec
parenta06094ea0f3a38446859de55100ac7fdb0488a9d (diff)
downloadpuppet-effaf80ae662076e3578c3eb7a18b863ef104bb4.tar.gz
puppet-effaf80ae662076e3578c3eb7a18b863ef104bb4.tar.xz
puppet-effaf80ae662076e3578c3eb7a18b863ef104bb4.zip
Fix small typo in the fix for #2394
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
Diffstat (limited to 'spec')
-rwxr-xr-xspec/unit/file_serving/configuration.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/file_serving/configuration.rb b/spec/unit/file_serving/configuration.rb
index c63e3b370..60515bf1e 100755
--- a/spec/unit/file_serving/configuration.rb
+++ b/spec/unit/file_serving/configuration.rb
@@ -128,7 +128,7 @@ describe Puppet::FileServing::Configuration do
mount.expects(:environment).with("mynode").returns env
config.stubs(:mounts).returns("modules" => mount)
- Puppet::Util::Warnings.expects(:warn_once)
+ Puppet::Util::Warnings.expects(:warnonce)
config.find_mount("foo", "mynode").should equal(mount)
end