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

Version Path
blacklight-spotlight-3.0.0.alpha.2 spec/features/javascript/blocks/rule_block_spec.rb
blacklight-spotlight-3.0.0.alpha.1 spec/features/javascript/blocks/rule_block_spec.rb
blacklight-spotlight-2.13.0 spec/features/javascript/blocks/rule_block_spec.rb
blacklight-spotlight-2.12.1 spec/features/javascript/blocks/rule_block_spec.rb
blacklight-spotlight-2.12.0 spec/features/javascript/blocks/rule_block_spec.rb
blacklight-spotlight-2.11.0 spec/features/javascript/blocks/rule_block_spec.rb
blacklight-spotlight-2.10.0 spec/features/javascript/blocks/rule_block_spec.rb
blacklight-spotlight-2.9.0 spec/features/javascript/blocks/rule_block_spec.rb
blacklight-spotlight-2.8.0 spec/features/javascript/blocks/rule_block_spec.rb
blacklight-spotlight-2.7.2 spec/features/javascript/blocks/rule_block_spec.rb
blacklight-spotlight-2.7.1 spec/features/javascript/blocks/rule_block_spec.rb
blacklight-spotlight-2.7.0 spec/features/javascript/blocks/rule_block_spec.rb
blacklight-spotlight-2.6.1.1 spec/features/javascript/blocks/rule_block_spec.rb
blacklight-spotlight-2.6.1 spec/features/javascript/blocks/rule_block_spec.rb
blacklight-spotlight-2.6.0 spec/features/javascript/blocks/rule_block_spec.rb
blacklight-spotlight-2.5.2 spec/features/javascript/blocks/rule_block_spec.rb
blacklight-spotlight-2.5.1 spec/features/javascript/blocks/rule_block_spec.rb
blacklight-spotlight-2.5.0 spec/features/javascript/blocks/rule_block_spec.rb