Evaluate run control file when present
This commit is contained in:
10
features/run_control/evaluation.feature
Normal file
10
features/run_control/evaluation.feature
Normal file
@@ -0,0 +1,10 @@
|
||||
@mocked_home_directory
|
||||
Feature: run control file evaluation
|
||||
|
||||
Scenario: evaluates the default run control file when it exists
|
||||
Given a file named .uhwmrc.rb with:
|
||||
"""
|
||||
puts 'run control evaluation'
|
||||
"""
|
||||
When I start uhwm
|
||||
Then the output must contain "run control evaluation"
|
@@ -19,6 +19,10 @@ Then /^the output must contain:$/ do |content|
|
||||
uhwm_wait_output content.to_s
|
||||
end
|
||||
|
||||
Then /^the output must contain "([^"]+)"$/ do |content|
|
||||
uhwm_wait_output content.to_s
|
||||
end
|
||||
|
||||
Then /^the output must contain current display$/ do
|
||||
uhwm_wait_output ENV['DISPLAY']
|
||||
end
|
||||
|
Reference in New Issue
Block a user