Sha256: 5bee6c80aea8223e055dc58df7083b1f2d33a813e80d6169eb4fc04dfe98a28e
Contents?: true
Size: 683 Bytes
Versions: 22
Compression:
Stored size: 683 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
22 entries across 22 versions & 1 rubygems