Sha256: 4270462cd81e20f2c33427a89975b9d8263fd9045b14f6807f60c2b9af2bf01f

Contents?: true

Size: 551 Bytes

Versions: 19

Compression:

Stored size: 551 Bytes

Contents

require 'spec_helper'

describe 'Metadata Administration', type: :feature do
  let(:exhibit) { FactoryGirl.create(:exhibit) }
  let(:user) { FactoryGirl.create(:exhibit_admin, exhibit: exhibit) }
  before { login_as user }

  describe 'edit' do
    it 'displays the metadata edit page' do
      visit spotlight.edit_exhibit_metadata_configuration_path(exhibit)
      expect(page).to have_css('h1 small', text: 'Metadata')
      within("[data-id='language_ssm']") do
        expect(page).to have_css('td', text: 'Language')
      end
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
blacklight-spotlight-0.18.0 spec/features/metadata_admin_spec.rb
blacklight-spotlight-0.17.1 spec/features/metadata_admin_spec.rb
blacklight-spotlight-0.17.0 spec/features/metadata_admin_spec.rb
blacklight-spotlight-0.16.0 spec/features/metadata_admin_spec.rb
blacklight-spotlight-0.15.0 spec/features/metadata_admin_spec.rb
blacklight-spotlight-0.14.2 spec/features/metadata_admin_spec.rb
blacklight-spotlight-0.14.1 spec/features/metadata_admin_spec.rb
blacklight-spotlight-0.14.0 spec/features/metadata_admin_spec.rb
blacklight-spotlight-0.13.0 spec/features/metadata_admin_spec.rb
blacklight-spotlight-0.12.1 spec/features/metadata_admin_spec.rb
blacklight-spotlight-0.12.0 spec/features/metadata_admin_spec.rb
blacklight-spotlight-0.11.0 spec/features/metadata_admin_spec.rb
blacklight-spotlight-0.10.3 spec/features/metadata_admin_spec.rb
blacklight-spotlight-0.10.2 spec/features/metadata_admin_spec.rb
blacklight-spotlight-0.10.1 spec/features/metadata_admin_spec.rb
blacklight-spotlight-0.10.0 spec/features/metadata_admin_spec.rb
blacklight-spotlight-0.9.2 spec/features/metadata_admin_spec.rb
blacklight-spotlight-0.9.1 spec/features/metadata_admin_spec.rb
blacklight-spotlight-0.9.0 spec/features/metadata_admin_spec.rb