From d501bb9b35db673b6fa3fbb81107fafdaaf746e6 Mon Sep 17 00:00:00 2001 From: Thibault Jouan Date: Wed, 15 Apr 2015 17:54:19 +0000 Subject: [PATCH] Accept options in uhwm_run_wait_ready UAT helper --- lib/uh/wm/testing/acceptance_helpers.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/uh/wm/testing/acceptance_helpers.rb b/lib/uh/wm/testing/acceptance_helpers.rb index a6d4fb3..d28f6fc 100644 --- a/lib/uh/wm/testing/acceptance_helpers.rb +++ b/lib/uh/wm/testing/acceptance_helpers.rb @@ -40,8 +40,8 @@ module Uh ].join "\n" end - def uhwm_run_wait_ready - uhwm_run + def uhwm_run_wait_ready options = nil + if options then uhwm_run options else uhwm_run end uhwm_wait_output 'Connected to' end