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

Version Path
radiantcms-couchrest_model-0.2.4 features/step_definitions/admin/pages_management_steps.rb
radiantcms-couchrest_model-0.2.2 features/step_definitions/admin/pages_management_steps.rb
radiantcms-couchrest_model-0.2.1 features/step_definitions/admin/pages_management_steps.rb
radiantcms-couchrest_model-0.2 features/step_definitions/admin/pages_management_steps.rb
radiantcms-couchrest_model-0.1.9 features/step_definitions/admin/pages_management_steps.rb
radiantcms-couchrest_model-0.1.8 features/step_definitions/admin/pages_management_steps.rb
radiantcms-couchrest_model-0.1.7 features/step_definitions/admin/pages_management_steps.rb
radiantcms-couchrest_model-0.1.6 features/step_definitions/admin/pages_management_steps.rb
radiantcms-couchrest_model-0.1.5 features/step_definitions/admin/pages_management_steps.rb
radiant-0.8.2 features/step_definitions/admin/pages_management_steps.rb
radiant-0.8.1 features/step_definitions/admin/pages_management_steps.rb
radiant-0.8.0 features/step_definitions/admin/pages_management_steps.rb