Sha256: 336bcc69a889c885c3a110942f45e33c72733eaa3c049ccd21d867829128fac0
Contents?: true
Size: 490 Bytes
Versions: 12
Compression:
Stored size: 490 Bytes
Contents
When /^I fill in the "([^\"]*)" content with "([^\"]*)"$/ do |part, content| fill_in("part_#{part.to_slug}_content", :with => content) end Then /^there should be an? "([^\"]*)" part$/ do |name| response.should have_tag("#page-#{name.to_slug}") response.should have_tag("#part-#{name.to_slug}") response.should have_tag("textarea#part_#{name.to_slug}_content") end When /^I edit the "([^\"]*)" page$/ do |name| page = pages(name.to_sym) visit "/admin/pages/#{page.id}/edit" end
Version data entries
12 entries across 12 versions & 2 rubygems