summaryrefslogtreecommitdiffstats
path: root/spec/unit/string_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/string_spec.rb')
-rwxr-xr-xspec/unit/string_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/string_spec.rb b/spec/unit/string_spec.rb
index ddf855475..358668f9b 100755
--- a/spec/unit/string_spec.rb
+++ b/spec/unit/string_spec.rb
@@ -43,7 +43,7 @@ describe Puppet::String do
it "should instance-eval any provided block" do
face = Puppet::String.new(:string_test_block, '0.0.1') do
action(:something) do
- invoke { "foo" }
+ when_invoked { "foo" }
end
end