Added a step to create templates on the fly

This commit is contained in:
Dennis Günnewig 2014-07-31 08:46:22 +02:00
parent 15d6210df8
commit 0add2e6676

View file

@ -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