summaryrefslogtreecommitdiffstats
path: root/spec/unit/util/warnings_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/util/warnings_spec.rb')
-rwxr-xr-xspec/unit/util/warnings_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/util/warnings_spec.rb b/spec/unit/util/warnings_spec.rb
index 15785cf58..4ce03ebe6 100755
--- a/spec/unit/util/warnings_spec.rb
+++ b/spec/unit/util/warnings_spec.rb
@@ -9,7 +9,7 @@ describe Puppet::Util::Warnings do
end
{:notice => "notice_once", :warning => "warnonce"}.each do |log, method|
- describe "when registring '%s' messages" % log do
+ describe "when registring '#{log}' messages" do
it "should always return nil" do
Puppet::Util::Warnings.send(method, @msg1).should be(nil)
end