Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
c597504a
Commit
c597504a
authored
Aug 27, 2019
by
Felipe Artur
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix build
parent
eae0609c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
ee/app/controllers/ee/boards/lists_controller.rb
ee/app/controllers/ee/boards/lists_controller.rb
+2
-2
ee/spec/services/ee/boards/lists/list_service_spec.rb
ee/spec/services/ee/boards/lists/list_service_spec.rb
+4
-2
No files found.
ee/app/controllers/ee/boards/lists_controller.rb
View file @
c597504a
...
...
@@ -5,8 +5,8 @@ module EE
module
ListsController
extend
::
Gitlab
::
Utils
::
Override
override
:
list_creation_attr
s
def
list_creation_attr
s
override
:
create_list_param
s
def
create_list_param
s
super
+
%i[assignee_id milestone_id]
end
...
...
ee/spec/services/ee/boards/lists/list_service_spec.rb
View file @
c597504a
...
...
@@ -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'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment