2015-04-14 02:27:36 +00:00

29 lines
408 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
Before do
set_env 'HOME', File.expand_path(current_dir)
end
After do
uhwm_ensure_stop
end
Around '@other_wm_running' do |_, block|
with_other_wm { block.call }
end