Module: Command::TestHelper

Defined in:
lib/command/test_helper.rb

Defined Under Namespace

Classes: ProxyCommand

Instance Method Summary collapse

Instance Method Details

#create_outcome(errors: {}, value: nil) ⇒ Object



18
19
20
# File 'lib/command/test_helper.rb', line 18

def create_outcome(errors: {}, value: nil)
  ProxyCommand.run(error_list: errors, return_value: value)
end