Sha256: 37b0e76599385ba5156f070815c42c79b1c6633f6c25546fd6bbe01715f9424d
Contents?: true
Size: 564 Bytes
Versions: 15
Compression:
Stored size: 564 Bytes
Contents
When /^I create the page "([^"]*)" menu item$/ do |page_name| within "div#menu_item_page_form" do select page_name, :from => "menu_item_navigable_id" click_button "Save Menu Item" end end When /^I create the category "([^"]*)" menu item$/ do |category_name| within "div#menu_item_category_form" do select category_name, :from => "menu_item_navigable_id" click_button "Save Menu Item" end end Then /^I should see "([^"]*)" in the list of menu items$/ do |text| within "div#menu_item_tree" do page.should have_content(text) end end
Version data entries
15 entries across 15 versions & 1 rubygems