BigW Consortium Gitlab

list_spec.rb 409 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
require 'spec_helper'

feature 'Issues List' do
  let(:user) { create(:user) }
  let(:project) { create(:empty_project) }

  background do
    project.team << [user, :developer]

10
    sign_in(user)
11 12 13 14 15
  end

  scenario 'user does not see create new list button' do
    create(:issue, project: project)

16
    visit project_issues_path(project)
17 18 19 20

    expect(page).not_to have_selector('.js-new-board-list')
  end
end