summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorcharlieablett <cablett@gitlab.com>2019-06-19 14:37:54 +0200
committercharlieablett <cablett@gitlab.com>2019-07-03 22:53:13 +1200
commitc99c30fdd6f3adf4fb29aad4b10e265be69d2d67 (patch)
tree909c4ce21faa42381f22188590ba3e84cd2344c9 /spec
parent8b809837f44bbebdac65eebadb09a45fb60c6a65 (diff)
downloadgitlab-ce-c99c30fdd6f3adf4fb29aad4b10e265be69d2d67.tar.gz
Remove potentially noisy warning
- If Gitaly calls are missing, it could be due to a conditional and may just become noise
Diffstat (limited to 'spec')
-rw-r--r--spec/graphql/types/base_field_spec.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/spec/graphql/types/base_field_spec.rb b/spec/graphql/types/base_field_spec.rb
index ebdfa3eaf4d..d7360872508 100644
--- a/spec/graphql/types/base_field_spec.rb
+++ b/spec/graphql/types/base_field_spec.rb
@@ -127,10 +127,6 @@ describe Types::BaseField do
it 'does not raise an error if calls_gitaly is true' do
expect { gitaly_field.send(:calls_gitaly_check) }.not_to raise_error
end
-
- it 'raises an error if calls_gitaly is not decalared' do
- expect { no_gitaly_field.send(:calls_gitaly_check) }.to raise_error(/please remove `calls_gitaly: true`/)
- end
end
end
end