Sha256: b744c4021f2c27c7fbca32be373265367327862e165636f4bc5fa90e50a015fb

Contents?: true

Size: 570 Bytes

Versions: 4

Compression:

Stored size: 570 Bytes

Contents

require "spec_helper"

describe "Metadata Administration", :type => :feature do
  let(:exhibit) { FactoryGirl.create(:exhibit) }
  let(:exhibit_curator) { FactoryGirl.create(:exhibit_curator, exhibit: exhibit) }
  before { login_as exhibit_curator }

  describe "edit" do
    it "should display the metadata edit page" do
      visit spotlight.exhibit_edit_metadata_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

4 entries across 4 versions & 1 rubygems

Version Path
blacklight-spotlight-0.4.1 spec/features/metadata_admin_spec.rb
blacklight-spotlight-0.3.1 spec/features/metadata_admin_spec.rb
blacklight-spotlight-0.3.0 spec/features/metadata_admin_spec.rb
blacklight-spotlight-0.2.0 spec/features/metadata_admin_spec.rb