gitlab-org--gitlab-foss/spec/features/projects/issues/list_spec.rb
2017-08-02 17:47:31 -04:00

20 lines
403 B
Ruby

require 'spec_helper'
feature 'Issues List' do
let(:user) { create(:user) }
let(:project) { create(:project) }
background do
project.team << [user, :developer]
sign_in(user)
end
scenario 'user does not see create new list button' do
create(:issue, project: project)
visit project_issues_path(project)
expect(page).not_to have_selector('.js-new-board-list')
end
end