summaryrefslogtreecommitdiff
path: root/spec/requests/api
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2016-11-09 16:29:07 +0100
committerRobert Schilling <rschilling@student.tugraz.at>2016-11-10 11:09:08 +0100
commit3378642504a0644411797f7d843bcb411c85582f (patch)
tree8376358a39873c5f20abcce4c4f1715c88f782d9 /spec/requests/api
parentc392b0cc24ba40e3fed920c6c693cb24665193af (diff)
downloadgitlab-ce-3378642504a0644411797f7d843bcb411c85582f.tar.gz
Grapify runners API
Diffstat (limited to 'spec/requests/api')
-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