Sha256: 537960fde4e4b6935c206a55db11a0974231fc93a53039587c6b70b7e574adcd

Contents?: true

Size: 340 Bytes

Versions: 4

Compression:

Stored size: 340 Bytes

Contents

require 'spec_helper'

describe "A curator can see the items page", :type => :feature do
  let(:exhibit_curator) { FactoryGirl.create(:exhibit_curator) }

  it "should work" do
    login_as exhibit_curator

    visit '/'
    within '.dropdown-menu' do
      click_link 'Dashboard'
    end
    expect(page).to have_content "Items"
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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