Sha256: 47d6ee06499a3f66b3331523cd1f25ec0e9ff015749e75e63c5984d69e2c390d
Contents?: true
Size: 487 Bytes
Versions: 5
Compression:
Stored size: 487 Bytes
Contents
require 'spec_helper' feature 'Editing the Home Page', js: true do let(:exhibit) { FactoryGirl.create(:default_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
5 entries across 5 versions & 1 rubygems