diff options
author | Nick Thomas <nick@gitlab.com> | 2016-11-03 14:12:20 +0000 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2016-11-04 04:01:08 +0000 |
commit | c1388d0efb79b755c06b9db19fc4ad47af7cf0a3 (patch) | |
tree | 4f1bbfca15dc287d2b14a68f4e5167c18f5a1b10 /spec/requests/api | |
parent | 3a8a7c1251cef4098ffbc54718ba21736c5e2800 (diff) | |
download | gitlab-ce-c1388d0efb79b755c06b9db19fc4ad47af7cf0a3.tar.gz |
Allow multiple repository storage shards to be enabled, and automatically round-robin between them
Diffstat (limited to 'spec/requests/api')
-rw-r--r-- | spec/requests/api/settings_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/requests/api/settings_spec.rb b/spec/requests/api/settings_spec.rb index f4903d8e0be..096a8ebab70 100644 --- a/spec/requests/api/settings_spec.rb +++ b/spec/requests/api/settings_spec.rb @@ -33,6 +33,7 @@ describe API::API, 'Settings', api: true do expect(json_response['default_projects_limit']).to eq(3) expect(json_response['signin_enabled']).to be_falsey expect(json_response['repository_storage']).to eq('custom') + expect(json_response['repository_storages']).to eq(['custom']) expect(json_response['koding_enabled']).to be_truthy expect(json_response['koding_url']).to eq('http://koding.example.com') end |