module StonesSpec::WithCommandLine

Public Instance Methods

run_command(command) click to toggle source
# File lib/stones_spec/with_command_line.rb, line 3
def run_command(command)
  [%x{#{command}}, $?.success? ? :passed : :failed]
end