summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2016-11-10 14:04:43 +0000
committerRémy Coutable <remy@rymai.me>2016-11-10 14:04:43 +0000
commit87cc458a22e0cf91ca5ffe5b988077ec41e59404 (patch)
tree17d33e3be583605850c6faad57f1d66fc4d3d417 /spec
parent9c9e88da56246c6efcd6a52a14f360e9a71a63e6 (diff)
parent2965883e60ce215343bc8d2e160f0a889baa02ac (diff)
downloadgitlab-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.rb2
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