Sha256: 6bdce72a49c98914ccd8db75fb12e88174993fd2e1cd899aa20921a96aa6e4c6
Contents?: true
Size: 487 Bytes
Versions: 11
Compression:
Stored size: 487 Bytes
Contents
feature 'Editing the Home Page', js: true do let(:exhibit) { FactoryGirl.create(:exhibit) } let(:admin) { FactoryGirl.create(:exhibit_admin, exhibit: exhibit) } before { login_as admin } it 'does not have a search results widget' do visit spotlight.edit_exhibit_home_page_path(exhibit) click_add_widget expect(page).to have_css("[data-type='solr_documents']", visible: true) expect(page).not_to have_css("[data-type='search_results']", visible: true) end end
Version data entries
11 entries across 11 versions & 1 rubygems