diff options
author | charlieablett <cablett@gitlab.com> | 2019-06-28 13:24:47 +1200 |
---|---|---|
committer | charlieablett <cablett@gitlab.com> | 2019-07-03 22:53:13 +1200 |
commit | cf1b0d10bcdde69f05695a2e9a0d380c6badb6d1 (patch) | |
tree | 9bcc0d99dc22a2f4fa2601f1b904c7a418766616 /spec/requests/api/graphql_spec.rb | |
parent | a11fe5de4408595cc8b2b091cbbb76e423c98f34 (diff) | |
download | gitlab-ce-cf1b0d10bcdde69f05695a2e9a0d380c6badb6d1.tar.gz |
Address reviewer comments
- Add 1 for all fields that call Gitaly (with resolvers or without)
- Clarify comment regarding Gitaly call alert
- Expose predicate `calls_gitaly?` instead of ivar
Diffstat (limited to 'spec/requests/api/graphql_spec.rb')
-rw-r--r-- | spec/requests/api/graphql_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/requests/api/graphql_spec.rb b/spec/requests/api/graphql_spec.rb index d78b17827a6..67371cb35b6 100644 --- a/spec/requests/api/graphql_spec.rb +++ b/spec/requests/api/graphql_spec.rb @@ -137,7 +137,7 @@ describe 'GraphQL' do let(:user) { create(:user) } let(:query) do - graphql_query_for('project', { 'fullPath' => project.full_path }, %w(forksCount)) + graphql_query_for('project', { 'fullPath' => project.full_path }, %w(id)) end before do |