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
960a5bd7
Commit
960a5bd7
authored
Jan 27, 2021
by
charlie ablett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Place classes under EpicBoards
- EpicBoards is less confusing than Epics
parent
6d63abe8
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
+6
-6
ee/app/graphql/ee/types/mutation_type.rb
ee/app/graphql/ee/types/mutation_type.rb
+1
-1
ee/app/graphql/mutations/boards/epic_boards/create.rb
ee/app/graphql/mutations/boards/epic_boards/create.rb
+2
-2
ee/app/services/boards/epic_boards/create_service.rb
ee/app/services/boards/epic_boards/create_service.rb
+1
-1
ee/spec/graphql/mutations/boards/epic_boards/create_spec.rb
ee/spec/graphql/mutations/boards/epic_boards/create_spec.rb
+1
-1
ee/spec/services/boards/epic_boards/create_service_spec.rb
ee/spec/services/boards/epic_boards/create_service_spec.rb
+1
-1
No files found.
ee/app/graphql/ee/types/mutation_type.rb
View file @
960a5bd7
...
...
@@ -36,7 +36,7 @@ module EE
mount_mutation
::
Mutations
::
Vulnerabilities
::
DestroyExternalIssueLink
mount_mutation
::
Mutations
::
Boards
::
Update
mount_mutation
::
Mutations
::
Boards
::
UpdateEpicUserPreferences
mount_mutation
::
Mutations
::
Boards
::
Epics
::
Create
mount_mutation
::
Mutations
::
Boards
::
Epic
Board
s
::
Create
mount_mutation
::
Mutations
::
Boards
::
Lists
::
UpdateLimitMetrics
mount_mutation
::
Mutations
::
InstanceSecurityDashboard
::
AddProject
mount_mutation
::
Mutations
::
InstanceSecurityDashboard
::
RemoveProject
...
...
ee/app/graphql/mutations/boards/epics/create.rb
→
ee/app/graphql/mutations/boards/epic
_board
s/create.rb
View file @
960a5bd7
...
...
@@ -2,7 +2,7 @@
module
Mutations
module
Boards
module
Epics
module
Epic
Board
s
class
Create
<
::
Mutations
::
BaseMutation
include
Mutations
::
ResolvesGroup
include
Mutations
::
Boards
::
CommonMutationArguments
...
...
@@ -20,7 +20,7 @@ module Mutations
group_path
=
args
.
delete
(
:group_path
)
group
=
authorized_find!
(
group_path:
group_path
)
service_response
=
::
Boards
::
Epics
::
CreateService
.
new
(
group
,
current_user
,
args
).
execute
service_response
=
::
Boards
::
Epic
Board
s
::
CreateService
.
new
(
group
,
current_user
,
args
).
execute
{
epic_board:
service_response
.
payload
,
...
...
ee/app/services/boards/epics/create_service.rb
→
ee/app/services/boards/epic
_board
s/create_service.rb
View file @
960a5bd7
# frozen_string_literal: true
module
Boards
module
Epics
module
Epic
Board
s
class
CreateService
<
Boards
::
CreateService
extend
::
Gitlab
::
Utils
::
Override
...
...
ee/spec/graphql/mutations/boards/epics/create_spec.rb
→
ee/spec/graphql/mutations/boards/epic
_board
s/create_spec.rb
View file @
960a5bd7
...
...
@@ -2,7 +2,7 @@
require
'spec_helper'
RSpec
.
describe
Mutations
::
Boards
::
Epic
s
::
Create
do
RSpec
.
describe
::
Mutations
::
Boards
::
EpicBoard
s
::
Create
do
include
GraphqlHelpers
let_it_be
(
:current_user
)
{
create
(
:user
)
}
...
...
ee/spec/services/boards/epics/create_service_spec.rb
→
ee/spec/services/boards/epic
_board
s/create_service_spec.rb
View file @
960a5bd7
...
...
@@ -2,7 +2,7 @@
require
'spec_helper'
RSpec
.
describe
Boards
::
Epics
::
CreateService
,
services:
true
do
RSpec
.
describe
Boards
::
Epic
Board
s
::
CreateService
,
services:
true
do
def
created_board
service
.
execute
.
payload
end
...
...
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