diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2016-12-29 15:59:31 +0000 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2016-12-29 15:59:31 +0000 |
commit | 714f70a38df10e678bffde6e6081a97e31d8317c (patch) | |
tree | 423d2f4944f7dc0221ecbf56790921e0e495007d /spec | |
parent | f7d68dfc8c1b82510b8006dd72a4bd851e523e2b (diff) | |
parent | ec7485de216695b53c26fb36fedba9f7d702acaa (diff) | |
download | gitlab-ce-714f70a38df10e678bffde6e6081a97e31d8317c.tar.gz |
Merge branch 'grapify-settings-api' into 'master'
Grapify the settings API
See merge request !8336
Diffstat (limited to 'spec')
-rw-r--r-- | spec/requests/api/settings_spec.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/requests/api/settings_spec.rb b/spec/requests/api/settings_spec.rb index 9a8d633d657..ad9d8a25af4 100644 --- a/spec/requests/api/settings_spec.rb +++ b/spec/requests/api/settings_spec.rb @@ -44,8 +44,7 @@ describe API::Settings, 'Settings', api: true do put api("/application/settings", admin), koding_enabled: true expect(response).to have_http_status(400) - expect(json_response['message']).to have_key('koding_url') - expect(json_response['message']['koding_url']).to include "can't be blank" + expect(json_response['error']).to eq('koding_url is missing') end end end |