Sha256: 1c3c448379b006297aa3e0f81a7f026099da5a55e144aefd013d664b40b7f10a
Contents?: true
Size: 542 Bytes
Versions: 6
Compression:
Stored size: 542 Bytes
Contents
Given /^I am adding a section to the root section$/ do section = Cms::Section.root.first visit "/cms/sections/new?section_id=#{section.id}" end When /^I create a public section$/ do fill_in "Name", :with=> "A New Section" fill_in "Path", :with=> "/my-new-section" ["Content Editors", "Cms Administrators", "Guest"].each do |checkbox| check checkbox end click_on "Save" end When /^the new section should be accessible to everyone$/ do section = Cms::Section.last assert_equal Cms::Group.count, section.groups.size end
Version data entries
6 entries across 6 versions & 1 rubygems