4 lines
141 B
Ruby
4 lines
141 B
Ruby
|
When /^I run "([^"]*)" in the "([^"]*)" directory$/ do |command, dir|
|
||
|
@output = %x{bash -c 'opwd=$PWD; cd #{dir} && $opwd/#{command}'}
|
||
|
end
|