Ensure only one client is managed for given window

This commit is contained in:
Thibault Jouan
2015-04-19 05:11:01 +00:00
parent 036ca1f989
commit bdbeca399a
7 changed files with 40 additions and 3 deletions

View File

@@ -23,6 +23,10 @@ Then /^the output must match \/([^\/]+)\/([a-z]*)$/ do |pattern, options|
uhwm_wait_output Regexp.new(pattern, options)
end
Then /^the output must not match \/([^\/]+)\/([a-z]*)$/ do |pattern, options|
expect(all_output).not_to match Regexp.new(pattern, options)
end
Then /^the output must contain:$/ do |content|
uhwm_wait_output content.to_s
end