Removed a duplicate step.
This commit is contained in:
parent
f81d3a698f
commit
aa6eb1ea9d
@ -1,7 +1,3 @@
|
|||||||
Given /^a simple page named "([^"]*)" with the body:$/ do |page_slug, page_contents|
|
|
||||||
@page = create_content_page(page_slug, page_contents)
|
|
||||||
end
|
|
||||||
|
|
||||||
# modify an editable element
|
# modify an editable element
|
||||||
Given /^the editable element "([^"]*)" in the "([^"]*)" page with the content "([^"]*)"$/ do |slug, page_slug, content|
|
Given /^the editable element "([^"]*)" in the "([^"]*)" page with the content "([^"]*)"$/ do |slug, page_slug, content|
|
||||||
page = @site.pages.where(:slug => page_slug).first
|
page = @site.pages.where(:slug => page_slug).first
|
||||||
|
Loading…
Reference in New Issue
Block a user