Fix AcceptanceHelpers#with_other_wm

This commit is contained in:
Thibault Jouan 2015-04-16 12:27:21 +00:00
parent 36e105bb42
commit 360b1583bf

View File

@ -46,7 +46,9 @@ module Uh
end
def with_other_wm
@other_wm = ChildProcess.build('twm').tap { |o| o.start }
@other_wm = ChildProcess.build('twm')
@other_wm.start
yield
@other_wm.stop
end