Sha256: 9a6a9f39df59b96e44051f03b5adb5a6cd224ed068f722a3dbc922c4f3624def
Contents?: true
Size: 462 Bytes
Versions: 6
Compression:
Stored size: 462 Bytes
Contents
require 'spec_helper' feature "PagesForm" do background do @page = create :page , name: "Homepage" end scenario "Adds a new item" do sign_in visit brightcontent.pages_url click_link "Create new page" fill_in "Name", with: "Name for page" select "Homepage", from: "page_parent_id" click_button "Create Page" page.should have_content "Page was successfully created." page.should have_content "Name for page" end end
Version data entries
6 entries across 6 versions & 1 rubygems