Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit 1e4b354

Browse files
committed
Allow for 3 digit ruby numbers
1 parent 138d08e commit 1e4b354

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

features/command_line/rake_task.feature

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Feature: rake task
3939
When I run `rake`
4040
Then the output should match:
4141
"""
42-
(ruby(\d\.\d)?|rbx) -I\S+ [\/\S]+\/exe\/rspec
42+
(ruby(\d\.\d(.\d)?)?|rbx) -I\S+ [\/\S]+\/exe\/rspec
4343
"""
4444
Then the exit status should be 0
4545

@@ -122,7 +122,7 @@ Feature: rake task
122122
Then the exit status should be 0
123123
Then the output should match:
124124
"""
125-
(ruby(\d\.\d)?|rbx) -I\S+ [\/\S]+\/exe\/rspec --tag fast
125+
(ruby(\d\.\d(.\d)?)?|rbx) -I\S+ [\/\S]+\/exe\/rspec --tag fast
126126
"""
127127

128128
Scenario: Passing rake task arguments to the `rspec` command via `rspec_opts`
@@ -154,5 +154,5 @@ Feature: rake task
154154
Then the exit status should be 0
155155
Then the output should match:
156156
"""
157-
(ruby(\d\.\d)?|rbx) -I\S+ [\/\S]+\/exe\/rspec --tag fast
157+
(ruby(\d\.\d(.\d)?)?|rbx) -I\S+ [\/\S]+\/exe\/rspec --tag fast
158158
"""

0 commit comments

Comments
 (0)