Sha256: 98939fbb30e795f6fcc7dda903b19c3157207cf1b20cf2e0e70e5c81bdb01922
Contents?: true
Size: 682 Bytes
Versions: 18
Compression:
Stored size: 682 Bytes
Contents
# frozen_string_literal: true describe 'Horizontal rule block', type: :feature, js: true, versioning: true do let(:exhibit) { FactoryBot.create(:exhibit) } let(:exhibit_curator) { FactoryBot.create(:exhibit_curator, exhibit: exhibit) } let!(:feature_page) { FactoryBot.create(:feature_page, exhibit: exhibit) } before { login_as exhibit_curator } it 'allows the user to select which image in a multi image object to display' do exhibit.home_page.content = '[]' exhibit.home_page.save visit spotlight.exhibit_home_page_path(exhibit, exhibit.home_page) click_link 'Edit' add_widget 'rule' save_page expect(page).to have_css('hr') end end
Version data entries
18 entries across 18 versions & 1 rubygems