Simplify cucumber steps (uhwm process)
This commit is contained in:
@@ -13,6 +13,10 @@ module Uh
|
||||
@interactive = @process = run command.join ' '
|
||||
end
|
||||
|
||||
def uhwm
|
||||
@process
|
||||
end
|
||||
|
||||
def uhwm_request_quit
|
||||
x_key QUIT_KEYBINDING
|
||||
end
|
||||
@@ -24,14 +28,6 @@ module Uh
|
||||
end
|
||||
end
|
||||
|
||||
def uhwm_pid
|
||||
@process.pid
|
||||
end
|
||||
|
||||
def uhwm_output
|
||||
@process.stdout
|
||||
end
|
||||
|
||||
def uhwm_wait_output message
|
||||
output = -> { @process.stdout + @process.stderr }
|
||||
timeout_until do
|
||||
|
Reference in New Issue
Block a user