Sha256: 765280b6dc1c1404b72fb861a63743c11263fc2c7452d67d390d34b0c1375742
Contents?: true
Size: 479 Bytes
Versions: 22
Compression:
Stored size: 479 Bytes
Contents
require 'spec_helper' 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 within("[data-icon='add']") do expect(page).not_to have_css("[data-type='search_results']", visible: true) end end end
Version data entries
22 entries across 22 versions & 1 rubygems