diff options
author | Stan Hu <stanhu@gmail.com> | 2018-09-09 14:01:23 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-09-09 14:29:04 -0700 |
commit | 8afc12a6c484f8ece19841a104b5ba4fb33eb8c6 (patch) | |
tree | a94fecc81ba3c60f20a06a166f989d83456f9c14 | |
parent | c45daaf7704608a7870559552f7be807406bd902 (diff) | |
download | gitlab-ce-8afc12a6c484f8ece19841a104b5ba4fb33eb8c6.tar.gz |
Explicitly enable usage ping for instance statistics spec
This is similar to https://gitlab.com/gitlab-org/gitlab-ee/issues/7511, but
the root cause is https://gitlab.com/gitlab-org/gitlab-ce/issues/51268.
-rw-r--r-- | spec/support/shared_examples/instance_statistics_controllers_shared_examples.rb | 2 |
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 |