Commit 299a9311 authored by Kushal Pandya's avatar Kushal Pandya Committed by Felipe Artur

Add `all` value support

parent 0b2bbedf
...@@ -5,6 +5,7 @@ module Types ...@@ -5,6 +5,7 @@ module Types
graphql_name 'EpicState' graphql_name 'EpicState'
description 'State of a GitLab epic' description 'State of a GitLab epic'
value 'all'
value 'opened' value 'opened'
value 'closed' value 'closed'
end end
......
...@@ -6,6 +6,6 @@ describe GitlabSchema.types['EpicState'] do ...@@ -6,6 +6,6 @@ describe GitlabSchema.types['EpicState'] do
it { expect(described_class.graphql_name).to eq('EpicState') } it { expect(described_class.graphql_name).to eq('EpicState') }
it 'exposes all the existing epic states' do 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
end end
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