diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2016-12-13 09:00:41 +0100 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2016-12-29 11:24:15 +0100 |
commit | ec7485de216695b53c26fb36fedba9f7d702acaa (patch) | |
tree | a1b6af72adbc5cc292da8931beb6dd85c75516be /spec | |
parent | b93c72e33a50aaed845fe333dee0201b0b11934e (diff) | |
download | gitlab-ce-ec7485de216695b53c26fb36fedba9f7d702acaa.tar.gz |
Grapify the settings APIgrapify-settings-api
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 |