Sha256: 216a86a468ba62b272457b10af80be58d8c7ceb164d8f5af01b85c572b1b1ab7

Contents?: true

Size: 490 Bytes

Versions: 9

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

9 entries across 9 versions & 4 rubygems

Version Path
radiant-rails3-0.1 features/step_definitions/admin/pages_management_steps.rb
radiantcms-couchrest_model-0.1.4 features/step_definitions/admin/pages_management_steps.rb
radiantcms-couchrest_model-0.1.3 features/step_definitions/admin/pages_management_steps.rb
radiantcms-couchrest_model-0.1.2 features/step_definitions/admin/pages_management_steps.rb
radiantcms-couchrest_model-0.1.1 features/step_definitions/admin/pages_management_steps.rb
radiantcms-couchrest_model-0.1 features/step_definitions/admin/pages_management_steps.rb
radiant-0.9.1 features/step_definitions/admin/pages_management_steps.rb
radiant-0.9.0.rc2 features/step_definitions/admin/pages_management_steps.rb
radiant-rc-0.9.0 features/step_definitions/admin/pages_management_steps.rb