1+ @requires-sleep @todo-improve-cross-platform-support
12Feature : Usage of configuration
23
34 You can configure `aruba` in two ways:
@@ -33,12 +34,12 @@ Feature: Usage of configuration
3334
3435 RSpec.describe 'Run command', :type => :aruba do
3536 context 'when fast command' do
36- before { run_command('aruba-test-cli 0') }
37+ before { run_command('ruby ./ aruba-test-cli 0') }
3738 it { expect(last_command_started).to be_successfully_executed }
3839 end
3940
4041 context 'when slow command' do
41- before { run_command('aruba-test-cli 1') }
42+ before { run_command('ruby ./ aruba-test-cli 1') }
4243 it { expect(last_command_started).not_to be_successfully_executed }
4344 end
4445 end
@@ -74,17 +75,17 @@ Feature: Usage of configuration
7475
7576 RSpec.describe 'Run command', :type => :aruba do
7677 context 'when fast command' do
77- before { run_command('aruba-test-cli 0') }
78+ before { run_command('ruby ./ aruba-test-cli 0') }
7879 it { expect(last_command_started).to be_successfully_executed }
7980 end
8081
8182 context 'when slow command and this is known by the developer', :slow_command => true do
82- before { run_command('aruba-test-cli 1') }
83+ before { run_command('ruby ./ aruba-test-cli 1') }
8384 it { expect(last_command_started).to be_successfully_executed }
8485 end
8586
8687 context 'when slow command, but this might be a failure' do
87- before { run_command('aruba-test-cli 1') }
88+ before { run_command('ruby ./ aruba-test-cli 1') }
8889 it { expect(last_command_started).not_to be_successfully_executed }
8990 end
9091 end
@@ -103,11 +104,11 @@ Feature: Usage of configuration
103104 """
104105 Feature: Run it
105106 Scenario: Fast command
106- When I run `aruba-test-cli 0`
107+ When I run `ruby ./ aruba-test-cli 0`
107108 Then the exit status should be 0
108109
109110 Scenario: Slow command
110- When I run `aruba-test-cli 1.0`
111+ When I run `ruby ./ aruba-test-cli 1.0`
111112 Then the exit status should be 128
112113 """
113114 When I run `cucumber`
@@ -135,16 +136,16 @@ Feature: Usage of configuration
135136 """
136137 Feature: Run it
137138 Scenario: Fast command
138- When I run `aruba-test-cli 0`
139+ When I run `ruby ./ aruba-test-cli 0`
139140 Then the exit status should be 0
140141
141142 @slow-command
142143 Scenario: Slow command known by the developer
143- When I run `aruba-test-cli 0.5`
144+ When I run `ruby ./ aruba-test-cli 0.5`
144145 Then the exit status should be 0
145146
146147 Scenario: Slow command which might be a failure
147- When I run `aruba-test-cli 0.5`
148+ When I run `ruby ./ aruba-test-cli 0.5`
148149 Then the exit status should be 128
149150 """
150151 When I run `cucumber`
0 commit comments