Sha256: a0e9afbf2053d47b05f384ce25829913fc47a3df055e5ca1c1a71b8074155525
Contents?: true
Size: 687 Bytes
Versions: 32
Compression:
Stored size: 687 Bytes
Contents
describe 'spotlight/metadata_configurations/edit', type: :view do let(:exhibit) { FactoryGirl.create(:exhibit) } before do assign(:exhibit, exhibit) assign(:blacklight_configuration, exhibit.blacklight_configuration) allow(view).to receive_messages( current_exhibit: exhibit, blacklight_config: exhibit.blacklight_configuration, available_view_fields: { some_view_type: 1, another_view_type: 2 }, select_deselect_button: nil ) end it 'has columns for the available view types' do render expect(rendered).to have_selector 'th', text: 'Some View Type' expect(rendered).to have_selector 'th', text: 'Another View Type' end end
Version data entries
32 entries across 32 versions & 1 rubygems