Sha256: 1f11d2ddb18f965ece4e28b76fc5fe0b60d9aa0174050596ff88e7b1bb4dfc17

Contents?: true

Size: 331 Bytes

Versions: 16

Compression:

Stored size: 331 Bytes

Contents

require 'spec_helper'

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

  it 'works' 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

16 entries across 16 versions & 1 rubygems

Version Path
blacklight-spotlight-0.11.0 spec/features/curator_items.rb
blacklight-spotlight-0.10.3 spec/features/curator_items.rb
blacklight-spotlight-0.10.2 spec/features/curator_items.rb
blacklight-spotlight-0.10.1 spec/features/curator_items.rb
blacklight-spotlight-0.10.0 spec/features/curator_items.rb
blacklight-spotlight-0.9.2 spec/features/curator_items.rb
blacklight-spotlight-0.9.1 spec/features/curator_items.rb
blacklight-spotlight-0.9.0 spec/features/curator_items.rb
blacklight-spotlight-0.8.2 spec/features/curator_items.rb
blacklight-spotlight-0.8.1 spec/features/curator_items.rb
blacklight-spotlight-0.8.0 spec/features/curator_items.rb
blacklight-spotlight-0.7.2 spec/features/curator_items.rb
blacklight-spotlight-0.7.1 spec/features/curator_items.rb
blacklight-spotlight-0.7.0 spec/features/curator_items.rb
blacklight-spotlight-0.6.0 spec/features/curator_items.rb
blacklight-spotlight-0.5.0 spec/features/curator_items.rb