From 68cec674023dd18181924509ff987cf35ef55fa8 Mon Sep 17 00:00:00 2001 From: Thibault Jouan Date: Sat, 18 Apr 2015 19:52:43 +0000 Subject: [PATCH] Fix uhwm_wait_output acceptance helper with strings --- lib/uh/wm/testing/acceptance_helpers.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/uh/wm/testing/acceptance_helpers.rb b/lib/uh/wm/testing/acceptance_helpers.rb index 342e587..829fdd0 100644 --- a/lib/uh/wm/testing/acceptance_helpers.rb +++ b/lib/uh/wm/testing/acceptance_helpers.rb @@ -30,7 +30,7 @@ module Uh timeout_until do case message when Regexp then output.call =~ message - when String then assert_partial_output_interactive message + when String then output.call.include? message end end rescue TimeoutError => e