debian-mirror-gitlab/spec/features/projects/issues/list_spec.rb

21 lines
403 B
Ruby
Raw Normal View History

2016-09-13 17:45:13 +05:30
require 'spec_helper'
feature 'Issues List' do
let(:user) { create(:user) }
2017-09-10 17:25:29 +05:30
let(:project) { create(:project) }
2016-09-13 17:45:13 +05:30
background do
project.team << [user, :developer]
2017-09-10 17:25:29 +05:30
sign_in(user)
2016-09-13 17:45:13 +05:30
end
scenario 'user does not see create new list button' do
create(:issue, project: project)
2017-09-10 17:25:29 +05:30
visit project_issues_path(project)
2016-09-13 17:45:13 +05:30
expect(page).not_to have_selector('.js-new-board-list')
end
end