diff --git a/modules/bcf/spec/controllers/issues_controller_spec.rb b/modules/bcf/spec/controllers/issues_controller_spec.rb index b6f35e928c..5da1c52795 100644 --- a/modules/bcf/spec/controllers/issues_controller_spec.rb +++ b/modules/bcf/spec/controllers/issues_controller_spec.rb @@ -31,11 +31,11 @@ require 'spec_helper' describe ::Bcf::IssuesController, type: :controller do let(:manage_bcf_role) do FactoryBot.create(:role, - permissions: %i[manage_bcf view_linked_issues view_work_packages]) + permissions: %i[manage_bcf view_linked_issues view_work_packages add_work_packages edit_work_packages]) end let(:collaborator_role) do FactoryBot.create(:role, - permissions: %i[view_linked_issues view_work_packages]) + permissions: %i[view_linked_issues view_work_packages add_work_packages edit_work_packages]) end let(:bcf_manager) { FactoryBot.create(:user, firstname: "BCF Manager") } let(:collaborator) { FactoryBot.create(:user) }