Sha256: 030e79c2f28883844c936d1fcb401d4b46a493683c46a35841cd0714f5206248

Contents?: true

Size: 141 Bytes

Versions: 31

Compression:

Stored size: 141 Bytes

Contents

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

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
penchant-0.2.29 features/step_definitions/when/i_run_in.rb
penchant-0.2.28 features/step_definitions/when/i_run_in.rb
penchant-0.2.27 features/step_definitions/when/i_run_in.rb
penchant-0.2.26 features/step_definitions/when/i_run_in.rb
penchant-0.2.24 features/step_definitions/when/i_run_in.rb
penchant-0.2.23 features/step_definitions/when/i_run_in.rb
penchant-0.2.22 features/step_definitions/when/i_run_in.rb
penchant-0.2.21 features/step_definitions/when/i_run_in.rb
penchant-0.2.20 features/step_definitions/when/i_run_in.rb
penchant-0.2.19 features/step_definitions/when/i_run_in.rb
penchant-0.2.18 features/step_definitions/when/i_run_in.rb
penchant-0.2.17 features/step_definitions/when/i_run_in.rb
penchant-0.2.16 features/step_definitions/when/i_run_in.rb
penchant-0.2.15 features/step_definitions/when/i_run_in.rb
penchant-0.2.14 features/step_definitions/when/i_run_in.rb
penchant-0.2.13 features/step_definitions/when/i_run_in.rb
penchant-0.2.12 features/step_definitions/when/i_run_in.rb
penchant-0.2.11 features/step_definitions/when/i_run_in.rb
penchant-0.2.10 features/step_definitions/when/i_run_in.rb
penchant-0.2.9 features/step_definitions/when/i_run_in.rb