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
graphql_name 'EpicState'
description 'State of a GitLab epic'
value 'all'
value 'opened'
value 'closed'
end
......
......@@ -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
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