summaryrefslogtreecommitdiff
path: root/spec/requests/api
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@vanlanduyt.co>2018-08-06 11:52:10 +0200
committerBob Van Landuyt <bob@vanlanduyt.co>2018-08-06 13:33:07 +0200
commitbaffe82ace1ca3ee247c1eee2a5c21aea2256539 (patch)
treef8463f91103e7c8ac7809924c8978cf866b374dd /spec/requests/api
parent0f871450cd3e77b0a94769a12d2d100a6d093e2c (diff)
downloadgitlab-ce-baffe82ace1ca3ee247c1eee2a5c21aea2256539.tar.gz
Hide instance statistics on new installations
Making the migrations and the default do the right thing in the first place. This makes 20180806094307 a no-op.
Diffstat (limited to 'spec/requests/api')
-rw-r--r--spec/requests/api/settings_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/requests/api/settings_spec.rb b/spec/requests/api/settings_spec.rb
index 3e0f47b84a1..9a662c21354 100644
--- a/spec/requests/api/settings_spec.rb
+++ b/spec/requests/api/settings_spec.rb
@@ -25,7 +25,7 @@ describe API::Settings, 'Settings' do
expect(json_response['ed25519_key_restriction']).to eq(0)
expect(json_response['circuitbreaker_failure_count_threshold']).not_to be_nil
expect(json_response['performance_bar_allowed_group_id']).to be_nil
- expect(json_response['instance_statistics_visibility_private']).to be(false)
+ expect(json_response['instance_statistics_visibility_private']).to be(true)
expect(json_response).not_to have_key('performance_bar_allowed_group_path')
expect(json_response).not_to have_key('performance_bar_enabled')
end