summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2016-11-10 11:12:39 +0000
committerRémy Coutable <remy@rymai.me>2016-11-10 11:12:39 +0000
commitdba65ab68050a216f57a15ab678606de0f533c56 (patch)
treea50daa6f6010589c9c78af4b299290329ac37b7a /spec
parente3dcd83d4a4b75dc050592ea008dc34ecbe0aa49 (diff)
parent3378642504a0644411797f7d843bcb411c85582f (diff)
downloadgitlab-ce-dba65ab68050a216f57a15ab678606de0f533c56.tar.gz
Merge branch 'grapify-runners-api' into 'master'
Grapify runners API ## What are the relevant issue numbers? Related to #22928 See merge request !7377
Diffstat (limited to 'spec')
-rw-r--r--spec/requests/api/runners_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/requests/api/runners_spec.rb b/spec/requests/api/runners_spec.rb
index f46f016135e..99414270be6 100644
--- a/spec/requests/api/runners_spec.rb
+++ b/spec/requests/api/runners_spec.rb
@@ -226,7 +226,7 @@ describe API::Runners, api: true do
context 'authorized user' do
context 'when runner is shared' do
it 'does not update runner' do
- put api("/runners/#{shared_runner.id}", user)
+ put api("/runners/#{shared_runner.id}", user), description: 'test'
expect(response).to have_http_status(403)
end
@@ -234,7 +234,7 @@ describe API::Runners, api: true do
context 'when runner is not shared' do
it 'does not update runner without access to it' do
- put api("/runners/#{specific_runner.id}", user2)
+ put api("/runners/#{specific_runner.id}", user2), description: 'test'
expect(response).to have_http_status(403)
end