Skip to content
Browse files

Merge pull request #53 from maxlinc/master

failure_message_for_should - object name is a symbol
  • Loading branch information...
2 parents ea2a2a3 + c3c62f1 commit 102a9e847bb38ff273b5f670766875051699b252 @rodjek committed Nov 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rspec-puppet/matchers/run.rb
View
2 lib/rspec-puppet/matchers/run.rb
@@ -47,7 +47,7 @@ module FunctionMatchers
end
failure_message_for_should do |func_obj|
- func_name = func_obj.name.gsub(/^function_/, '')
+ func_name = func_obj.name.to_s.gsub(/^function_/, '')
func_params = @params.inspect[1..-2]
if @expected_return

0 comments on commit 102a9e8

Please sign in to comment.
Something went wrong with that request. Please try again.