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/environment_type_spec.rb')
-rw-r--r--spec/graphql/types/environment_type_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/graphql/types/environment_type_spec.rb b/spec/graphql/types/environment_type_spec.rb
index cf30893b3ca..9e8f13e4c2e 100644
--- a/spec/graphql/types/environment_type_spec.rb
+++ b/spec/graphql/types/environment_type_spec.rb
@@ -10,8 +10,8 @@ describe GitlabSchema.types['Environment'] do
name id
]
- is_expected.to have_graphql_fields(*expected_fields)
+ expect(described_class).to have_graphql_fields(*expected_fields)
end
- it { is_expected.to require_graphql_authorizations(:read_environment) }
+ it { expect(described_class).to require_graphql_authorizations(:read_environment) }
end