Removed a duplicate step.

This commit is contained in:
Mario Visic 2011-09-01 18:45:30 +08:00
parent f81d3a698f
commit aa6eb1ea9d

View File

@ -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
Given /^the editable element "([^"]*)" in the "([^"]*)" page with the content "([^"]*)"$/ do |slug, page_slug, content|
page = @site.pages.where(:slug => page_slug).first