summaryrefslogtreecommitdiff
path: root/spec/graphql/types/repository_type_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/graphql/types/repository_type_spec.rb')
-rw-r--r--spec/graphql/types/repository_type_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/graphql/types/repository_type_spec.rb b/spec/graphql/types/repository_type_spec.rb
index 236f9bb9459..f746e75b574 100644
--- a/spec/graphql/types/repository_type_spec.rb
+++ b/spec/graphql/types/repository_type_spec.rb
@@ -7,7 +7,7 @@ describe GitlabSchema.types['Repository'] do
it { expect(described_class).to require_graphql_authorizations(:download_code) }
- it { is_expected.to have_graphql_field(:root_ref) }
+ it { expect(described_class).to have_graphql_field(:root_ref) }
- it { is_expected.to have_graphql_field(:tree) }
+ it { expect(described_class).to have_graphql_field(:tree) }
end