uh-wm/features/steps/x_steps.rb
2015-04-08 16:46:58 +00:00

6 lines
165 B
Ruby

Then /^it must connect to X display$/ do
uhwm_wait_output 'Connected to'
expect(`sockstat -u`.lines.grep /\s+ruby.+\s+#{@process.pid}/)
.not_to be_empty
end