diff options
author | Rémy Coutable <remy@rymai.me> | 2016-11-10 11:12:39 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-11-10 11:12:39 +0000 |
commit | dba65ab68050a216f57a15ab678606de0f533c56 (patch) | |
tree | a50daa6f6010589c9c78af4b299290329ac37b7a /spec | |
parent | e3dcd83d4a4b75dc050592ea008dc34ecbe0aa49 (diff) | |
parent | 3378642504a0644411797f7d843bcb411c85582f (diff) | |
download | gitlab-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.rb | 4 |
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 |