summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2018-09-10 08:16:54 +0000
committerRémy Coutable <remy@rymai.me>2018-09-10 08:16:54 +0000
commitbea943aed45c235d4c72f57a2693c1024afa662a (patch)
tree08c71bf3ebff3a3c633493c706867c9da98fa027
parent2863fcceaadb5c16a8ee3e27d7166620aeb15358 (diff)
parent0519c14a13de6d0f2348d49ef3bf4be46f953e5d (diff)
downloadgitlab-ce-bea943aed45c235d4c72f57a2693c1024afa662a.tar.gz
Merge branch 'sh-fix-failing-instances-statistics-spec' into 'master'
Explicitly enable usage ping for instance statistics spec Closes #51294 See merge request gitlab-org/gitlab-ce!21629
-rw-r--r--spec/support/shared_examples/instance_statistics_controllers_shared_examples.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/support/shared_examples/instance_statistics_controllers_shared_examples.rb b/spec/support/shared_examples/instance_statistics_controllers_shared_examples.rb
index 5334af841e1..8ea307c7c61 100644
--- a/spec/support/shared_examples/instance_statistics_controllers_shared_examples.rb
+++ b/spec/support/shared_examples/instance_statistics_controllers_shared_examples.rb
@@ -5,6 +5,8 @@ shared_examples 'instance statistics availability' do
before do
sign_in(user)
+
+ stub_application_setting(usage_ping_enabled: true)
end
describe 'GET #index' do