From 14674254079f57186a30d652272b2b80a5a2c61b Mon Sep 17 00:00:00 2001 From: Thibault Jouan Date: Fri, 10 Apr 2015 05:51:43 +0000 Subject: [PATCH] Improve cucumber output steps --- features/steps/output_steps.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/steps/output_steps.rb b/features/steps/output_steps.rb index 14f53a2..abf73d8 100644 --- a/features/steps/output_steps.rb +++ b/features/steps/output_steps.rb @@ -26,6 +26,6 @@ options: eoh end -Then /^the current output must match \/([^\/]+)\/([a-z]+)$/ do |pattern, options| +Then /^the current output must match \/([^\/]+)\/([a-z]*)$/ do |pattern, options| uhwm_wait_output Regexp.new(pattern, options) end