diff options
author | Rémy Coutable <remy@rymai.me> | 2016-11-10 14:04:43 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-11-10 14:04:43 +0000 |
commit | 87cc458a22e0cf91ca5ffe5b988077ec41e59404 (patch) | |
tree | 17d33e3be583605850c6faad57f1d66fc4d3d417 /spec | |
parent | 9c9e88da56246c6efcd6a52a14f360e9a71a63e6 (diff) | |
parent | 2965883e60ce215343bc8d2e160f0a889baa02ac (diff) | |
download | gitlab-ce-87cc458a22e0cf91ca5ffe5b988077ec41e59404.tar.gz |
Merge branch 'grapify-token-api' into 'master'
Grapify triggers API
## What are the relevant issue numbers?
Related to #22928
See merge request !7378
Diffstat (limited to 'spec')
-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 |