templates/test_spec.rb.erb in onceover-3.5.0 vs templates/test_spec.rb.erb in onceover-3.5.1

- old
+ new

@@ -7,10 +7,10 @@ <% @mock_functions.each do |function,params| -%> <% if params['type'] == 'statement' -%> MockFunction.new('<%= function %>', {:type => :statement}) <% else -%> let!(:<%= function %>) { MockFunction.new('<%= function %>') { |f| - f.stubbed.returns(<%= params['returns'] %>) + f.stubbed.returns(<%= params['returns'].inspect %>) } } <% end -%> <% end -%>