Commit c597504a authored by Felipe Artur's avatar Felipe Artur

Fix build

parent eae0609c
......@@ -5,8 +5,8 @@ module EE
module ListsController
extend ::Gitlab::Utils::Override
override :list_creation_attrs
def list_creation_attrs
override :create_list_params
def create_list_params
super + %i[assignee_id milestone_id]
end
......
......@@ -50,20 +50,22 @@ describe Boards::Lists::ListService do
end
context 'when board parent is a project' do
let(:user) { create(:user) }
let(:project) { create(:project) }
let(:board) { create(:board, project: project) }
let(:label) { create(:label, project: project) }
let(:service) { described_class.new(project, double) }
let(:service) { described_class.new(project, user) }
it_behaves_like 'list service for board with assignee lists'
it_behaves_like 'list service for board with milestone lists'
end
context 'when board parent is a group' do
let(:user) { create(:user) }
let(:group) { create(:group) }
let(:board) { create(:board, group: group) }
let(:label) { create(:group_label, group: group) }
let(:service) { described_class.new(group, double) }
let(:service) { described_class.new(group, user) }
it_behaves_like 'list service for board with assignee lists'
it_behaves_like 'list service for board with milestone lists'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment