You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to create a mock Puppet function that always returns its third argument. I was expecting something like this to work, but it seems that it does not:
MockFunction.new(:my_function) do |func|
func.stubbed.returns { |x, y, z| z }
end
I want to create a mock Puppet function that always returns its third argument. I was expecting something like this to work, but it seems that it does not: