Add a cucumber step to handle run control file

This commit is contained in:
Thibault Jouan 2015-04-14 03:22:21 +00:00
parent e81cf3a52f
commit 193180fe6d
2 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,7 @@
Feature: run control file evaluation
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'
"""

View File

@ -0,0 +1,3 @@
Given /^a run control file with:$/ do |content|
write_file '.uhwmrc.rb', content
end