Sha256: cdc9bbb719854cf96b016063ca266479cf3204c29cf0e6b14de7bb08bdb838ed
Contents?: true
Size: 586 Bytes
Versions: 33
Compression:
Stored size: 586 Bytes
Contents
feature 'About Pages Adminstration', js: true do let(:exhibit) { FactoryGirl.create(:exhibit) } let(:exhibit_curator) { FactoryGirl.create(:exhibit_curator, exhibit: exhibit) } before { login_as exhibit_curator } it 'is able to create new pages' do login_as exhibit_curator visit spotlight.exhibit_dashboard_path(exhibit) click_link 'About pages' add_new_page_via_button('My New Page') expect(page).to have_content 'The about page was created.' expect(page).to have_css('li.dd-item') expect(page).to have_css('h3', text: 'My New Page') end end
Version data entries
33 entries across 33 versions & 1 rubygems