Refactor cucumber steps (quitting uhwm)

This commit is contained in:
Thibault Jouan
2015-04-21 05:57:37 +00:00
parent 0b7c3e9128
commit a4b6127ec8
2 changed files with 7 additions and 2 deletions

View File

@@ -24,11 +24,11 @@ When /^I run uhwm with options? (-.+)$/ do |options|
end
When /^I tell uhwm to quit$/ do
x_key 'alt+shift+q'
uhwm_request_quit
end
When /^I quit uhwm$/ do
x_key 'alt+shift+q'
uhwm_request_quit
assert_exit_status 0
end