Added a step to create templates on the fly
This commit is contained in:
parent
15d6210df8
commit
0add2e6676
1 changed files with 4 additions and 0 deletions
|
@ -63,6 +63,10 @@ Given /^the Server is running at "([^\"]*)"$/ do |app_path|
|
|||
step %Q{the Server is running}
|
||||
end
|
||||
|
||||
Given /^a template named "([^\"]*)" with:$/ do |name, string|
|
||||
step %Q{a file named "source/#{name}" with:}, string
|
||||
end
|
||||
|
||||
When /^I go to "([^\"]*)"$/ do |url|
|
||||
@browser.get(URI.escape(url))
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue