From 2389e79e1821a8cc9d176eeb78a39a0d5552b5b5 Mon Sep 17 00:00:00 2001 From: Matijs van Zuijlen <matijs@matijs.net> Date: Sat, 16 Nov 2024 21:03:49 +0100 Subject: [PATCH] WIP: Tighten spec checks even more --- lib/aruba/cucumber/testing_frameworks.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/aruba/cucumber/testing_frameworks.rb b/lib/aruba/cucumber/testing_frameworks.rb index ac7f6c3f..36db5c63 100644 --- a/lib/aruba/cucumber/testing_frameworks.rb +++ b/lib/aruba/cucumber/testing_frameworks.rb @@ -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)