diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-12-02 00:08:18 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-12-02 00:08:18 +0300 |
commit | 61666f277a484725307ae2b34697b13a300b2129 (patch) | |
tree | 01f93083ca2cb9d0eeca1443a23c31a4bdbd5532 /spec/requests/api | |
parent | 4e3a998b8ec1351d8345863f6cad4b9bd497bd6a (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/requests/api')
-rw-r--r-- | spec/requests/api/graphql/project/issue/design_collection/version_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/requests/api/graphql/project/issue/design_collection/version_spec.rb b/spec/requests/api/graphql/project/issue/design_collection/version_spec.rb index 0444ce43c22..93e32f72ec7 100644 --- a/spec/requests/api/graphql/project/issue/design_collection/version_spec.rb +++ b/spec/requests/api/graphql/project/issue/design_collection/version_spec.rb @@ -67,7 +67,7 @@ RSpec.describe 'Query.project(fullPath).issue(iid).designCollection.version(sha) query_graphql_field(:design_at_version, dav_params, 'id filename') end - shared_examples :finds_dav do + shared_examples 'finds dav' do it 'finds all the designs as of the given version' do post_query @@ -88,19 +88,19 @@ RSpec.describe 'Query.project(fullPath).issue(iid).designCollection.version(sha) context 'by ID' do let(:dav_params) { { id: global_id_of(design_at_version) } } - include_examples :finds_dav + include_examples 'finds dav' end context 'by filename' do let(:dav_params) { { filename: design.filename } } - include_examples :finds_dav + include_examples 'finds dav' end context 'by design_id' do let(:dav_params) { { design_id: global_id_of(design) } } - include_examples :finds_dav + include_examples 'finds dav' end end |