diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-11-13 03:06:31 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-11-13 03:06:31 +0000 |
commit | d41c040fa25a8b4092843b84bf7d839591b6ee09 (patch) | |
tree | 5f7e94d2b6ac79483788eb867b3827af10f5bd82 /spec/graphql/types | |
parent | 4689bac80c8ab86e2b37abf217cc9b3404c5255f (diff) | |
download | gitlab-ce-d41c040fa25a8b4092843b84bf7d839591b6ee09.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/graphql/types')
-rw-r--r-- | spec/graphql/types/issue_sort_enum_spec.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/spec/graphql/types/issue_sort_enum_spec.rb b/spec/graphql/types/issue_sort_enum_spec.rb new file mode 100644 index 00000000000..da7126f3d84 --- /dev/null +++ b/spec/graphql/types/issue_sort_enum_spec.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +require 'spec_helper' + +describe GitlabSchema.types['IssueSort'] do + it { expect(described_class.graphql_name).to eq('IssueSort') } + + it_behaves_like 'common sort values' + + it 'exposes all the existing issue sort values' do + expect(described_class.values.keys).to include(*%w[DUE_DATE_ASC DUE_DATE_DESC]) + end +end |