diff options
author | Luke Kanies <luke@madstop.com> | 2009-08-31 23:38:26 -0700 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2009-09-01 21:05:05 +1000 |
commit | 3342b73b6acf5e7c492fa352b16ba9aba3c60da8 (patch) | |
tree | 2f6f45b77f61519fa5616c1df8632c9428a35471 /spec/unit/file_serving | |
parent | d397f8d1d1092067f7ca52449ce9af63f02f44e1 (diff) | |
download | puppet-3342b73b6acf5e7c492fa352b16ba9aba3c60da8.tar.gz puppet-3342b73b6acf5e7c492fa352b16ba9aba3c60da8.tar.xz puppet-3342b73b6acf5e7c492fa352b16ba9aba3c60da8.zip |
Fixing #2577 - clarifying and demoting the deprecation notice
It's now just notice instead of a warning, and it clarifies
that 0.24 clients can't be present.
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'spec/unit/file_serving')
-rwxr-xr-x | spec/unit/file_serving/configuration.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/file_serving/configuration.rb b/spec/unit/file_serving/configuration.rb index c2f386f14..f6acfad39 100755 --- a/spec/unit/file_serving/configuration.rb +++ b/spec/unit/file_serving/configuration.rb @@ -140,7 +140,7 @@ describe Puppet::FileServing::Configuration do mount = mock 'mount' config.stubs(:mounts).returns("modules" => mount) - Puppet::Util::Warnings.expects(:warnonce) + Puppet::Util::Warnings.expects(:notice_once) config.find_mount("foo", env).should equal(mount) end |