Skip to content

Commit

Permalink
WIP: Tighten spec checks even more
Browse files Browse the repository at this point in the history
  • Loading branch information
mvz committed Nov 16, 2024
1 parent 40199b2 commit 2389e79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/aruba/cucumber/testing_frameworks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
# RSpec
Then(/^the spec(?:s)? should all pass$/) do
expect(last_command_stopped)
.to have_output an_output_string_matching('examples?, 0 failures')
.to have_output an_output_string_matching('^[1-9][0-9]* examples?, 0 failures$')

if last_command_stopped.exit_status != 0
expect(last_command_stopped)
Expand Down

0 comments on commit 2389e79

Please sign in to comment.