Skip to content

Commit fd45d9e

Browse files
committed
Ensure irb uses a consistent prompt format in tests on all Ruby versions
The default prompt format for irb changed in Ruby 3.3. Using the classic format instead ensures the same result is achieved in all Ruby versions.
1 parent 2837d30 commit fd45d9e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

features/03_testing_frameworks/cucumber/steps/command/wait_for_output_of_command.feature

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Feature: Wait for output of commands
1212
"""cucumber
1313
Feature: Run command
1414
Scenario: Run command
15-
When I run `irb --prompt default` interactively
15+
When I run `irb --prompt classic` interactively
1616
And I wait for output to contain "irb"
1717
And I type "puts 6 + 5"
1818
And I type "exit"
@@ -32,7 +32,7 @@ Feature: Wait for output of commands
3232
"""cucumber
3333
Feature: Run command
3434
Scenario: Run command
35-
When I run `irb --prompt default` interactively
35+
When I run `irb --prompt classic` interactively
3636
And I wait for output to contain:
3737
\"\"\"
3838
irb(main):001:0>
@@ -49,7 +49,7 @@ Feature: Wait for output of commands
4949
"""cucumber
5050
Feature: Run command
5151
Scenario: Run command
52-
When I run `irb --prompt default` interactively
52+
When I run `irb --prompt classic` interactively
5353
And I wait for output to contain:
5454
\"\"\"
5555
irb(main):001:0>

0 commit comments

Comments
 (0)