summaryrefslogtreecommitdiff
path: root/spec/requests
diff options
context:
space:
mode:
authorcharlieablett <cablett@gitlab.com>2019-06-28 13:24:47 +1200
committercharlieablett <cablett@gitlab.com>2019-07-03 22:53:13 +1200
commitcf1b0d10bcdde69f05695a2e9a0d380c6badb6d1 (patch)
tree9bcc0d99dc22a2f4fa2601f1b904c7a418766616 /spec/requests
parenta11fe5de4408595cc8b2b091cbbb76e423c98f34 (diff)
downloadgitlab-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')
-rw-r--r--spec/requests/api/graphql_spec.rb2
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