Add a cucumber step to handle run control file
This commit is contained in:
parent
e81cf3a52f
commit
193180fe6d
@ -1,7 +1,7 @@
|
|||||||
Feature: run control file evaluation
|
Feature: run control file evaluation
|
||||||
|
|
||||||
Scenario: evaluates the default run control file when present
|
Scenario: evaluates the default run control file when present
|
||||||
Given a file named .uhwmrc.rb with:
|
Given a run control file with:
|
||||||
"""
|
"""
|
||||||
puts 'run control evaluation'
|
puts 'run control evaluation'
|
||||||
"""
|
"""
|
||||||
|
3
features/steps/run_control_steps.rb
Normal file
3
features/steps/run_control_steps.rb
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
Given /^a run control file with:$/ do |content|
|
||||||
|
write_file '.uhwmrc.rb', content
|
||||||
|
end
|
Loading…
x
Reference in New Issue
Block a user