diff options
author | Felipe Artur <fcardozo@gitlab.com> | 2019-09-04 16:33:02 +0000 |
---|---|---|
committer | Michael Kozono <mkozono@gmail.com> | 2019-09-04 16:33:02 +0000 |
commit | 13fc0efa5725d94cda527dc487d8dfdb7e90ed21 (patch) | |
tree | e059e8ad1ffece44218974140ec04cdfe8de5a07 /spec/helpers/boards_helper_spec.rb | |
parent | 24de5d65733de22fd067f150e65e36eb6121d17f (diff) | |
download | gitlab-ce-13fc0efa5725d94cda527dc487d8dfdb7e90ed21.tar.gz |
Let project reporters create issue from group boards
The current state of group issue boards does not show the "Add issues"
button on the UI for users that are reporters of group child projects.
Diffstat (limited to 'spec/helpers/boards_helper_spec.rb')
-rw-r--r-- | spec/helpers/boards_helper_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/helpers/boards_helper_spec.rb b/spec/helpers/boards_helper_spec.rb index f014537eb54..ad088398ce9 100644 --- a/spec/helpers/boards_helper_spec.rb +++ b/spec/helpers/boards_helper_spec.rb @@ -40,7 +40,7 @@ describe BoardsHelper do assign(:project, project) allow(helper).to receive(:current_user) { user } - allow(helper).to receive(:can?).with(user, :admin_list, project).and_return(true) + allow(helper).to receive(:can?).with(user, :create_non_backlog_issues, board).and_return(true) end it 'returns a board_lists_path as lists_endpoint' do |