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
299a9311
Commit
299a9311
authored
Sep 18, 2019
by
Kushal Pandya
Committed by
Felipe Artur
Oct 10, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add `all` value support
parent
0b2bbedf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
ee/app/graphql/types/epic_state_enum.rb
ee/app/graphql/types/epic_state_enum.rb
+1
-0
ee/spec/graphql/types/epic_state_enum_spec.rb
ee/spec/graphql/types/epic_state_enum_spec.rb
+1
-1
No files found.
ee/app/graphql/types/epic_state_enum.rb
View file @
299a9311
...
...
@@ -5,6 +5,7 @@ module Types
graphql_name
'EpicState'
description
'State of a GitLab epic'
value
'all'
value
'opened'
value
'closed'
end
...
...
ee/spec/graphql/types/epic_state_enum_spec.rb
View file @
299a9311
...
...
@@ -6,6 +6,6 @@ describe GitlabSchema.types['EpicState'] do
it
{
expect
(
described_class
.
graphql_name
).
to
eq
(
'EpicState'
)
}
it
'exposes all the existing epic states'
do
expect
(
described_class
.
values
.
keys
).
to
include
(
*
%w[opened closed]
)
expect
(
described_class
.
values
.
keys
).
to
include
(
*
%w[
all
opened closed]
)
end
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