diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2016-11-09 16:47:39 +0100 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2016-11-10 12:48:44 +0100 |
commit | 2965883e60ce215343bc8d2e160f0a889baa02ac (patch) | |
tree | 00945082cfa4c7de69f49f7a4de8daa760a86878 /spec/requests/api | |
parent | 0c99e5d0b6b457ef7db2c36f1394fad5c63d1142 (diff) | |
download | gitlab-ce-2965883e60ce215343bc8d2e160f0a889baa02ac.tar.gz |
Grapify token API
Diffstat (limited to 'spec/requests/api')
-rw-r--r-- | spec/requests/api/triggers_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/requests/api/triggers_spec.rb b/spec/requests/api/triggers_spec.rb index 82bba1ce8a4..8ba2eccf66c 100644 --- a/spec/requests/api/triggers_spec.rb +++ b/spec/requests/api/triggers_spec.rb @@ -68,7 +68,7 @@ describe API::API do it 'validates variables to be a hash' do post api("/projects/#{project.id}/trigger/builds"), options.merge(variables: 'value', ref: 'master') expect(response).to have_http_status(400) - expect(json_response['message']).to eq('variables needs to be a hash') + expect(json_response['error']).to eq('variables is invalid') end it 'validates variables needs to be a map of key-valued strings' do |