spec/fixtures/controlrepos/function_mocking/spec/onceover.yaml in onceover-3.10.0 vs spec/fixtures/controlrepos/function_mocking/spec/onceover.yaml in onceover-3.10.1
- old
+ new
@@ -21,32 +21,30 @@
classes: 'all_classes'
tests: 'spec'
functions:
return_string:
- type: rvalue
returns: string
return_number:
- type: rvalue
returns: 400
return_boolean:
- type: rvalue
returns: true
return_array:
- type: rvalue
returns:
- 1
- 2
- 3
return_hash:
- type: rvalue
returns:
foo: bar
profile::fail_puppet:
- type: rvalue
- returns: null
+ returns:
+ hash: cool
+ yeah:
+ - arrays
+ - are
+ - great
profile::fail_ruby:
- type: rvalue
- returns: null
+ returns: "\r\n\t C:\\windows"
opts:
:debug: true