Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/graphql/types/ci/job_token_scope_type_spec.rb')
-rw-r--r--spec/graphql/types/ci/job_token_scope_type_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/graphql/types/ci/job_token_scope_type_spec.rb b/spec/graphql/types/ci/job_token_scope_type_spec.rb
index 457d46b6896..18f4d762d1e 100644
--- a/spec/graphql/types/ci/job_token_scope_type_spec.rb
+++ b/spec/graphql/types/ci/job_token_scope_type_spec.rb
@@ -69,8 +69,8 @@ RSpec.describe GitlabSchema.types['CiJobTokenScopeType'] do
expect(subject['errors']).to be_nil
end
- it 'returns nil' do
- expect(subject['data']['project']['ciJobTokenScope']).to be_nil
+ it 'returns readable projects in scope' do
+ expect(returned_project_paths).to contain_exactly(project.path)
end
end
end