Module: StonesSpec::WithCommandLine
- Defined in:
- lib/stones_spec/with_command_line.rb
Instance Method Summary collapse
Instance Method Details
#run_command(command) ⇒ Object
3 4 5 |
# File 'lib/stones_spec/with_command_line.rb', line 3 def run_command(command) [%x{#{command}}, $?.success? ? :passed : :failed] end |