2015-04-14 01:41:39 +00:00

25 lines
345 B
Ruby

require 'aruba/cucumber'
require 'headless'
require 'uh/wm/testing/acceptance_helpers'
module Aruba
class SpawnProcess
def pid
@process.pid
end
end
end
World(Uh::WM::Testing::AcceptanceHelpers)
Headless.new.start
After do
uhwm_ensure_stop
end
Around '@other_wm_running' do |_, block|
with_other_wm { block.call }
end