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