summaryrefslogtreecommitdiff
path: root/spec/requests
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2017-08-29 16:09:30 +0900
committerShinya Maeda <shinya@gitlab.com>2017-09-03 23:49:10 +0900
commit13b9b5f11a556b2841aabbf46516d1acab79aa0d (patch)
treecad36554f682546915249aa4a8c9fc415cb3a808 /spec/requests
parent1024718e9fddbb0d61d3f64f44303964641fcdd8 (diff)
downloadgitlab-ce-13b9b5f11a556b2841aabbf46516d1acab79aa0d.tar.gz
Improve API arguments as String
Diffstat (limited to 'spec/requests')
-rw-r--r--spec/requests/api/runners_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/requests/api/runners_spec.rb b/spec/requests/api/runners_spec.rb
index abaa6eb4f6d..67907579225 100644
--- a/spec/requests/api/runners_spec.rb
+++ b/spec/requests/api/runners_spec.rb
@@ -192,7 +192,7 @@ describe API::Runners do
tag_list: ['ruby2.1', 'pgsql', 'mysql'],
run_untagged: 'false',
locked: 'true',
- access_level: Ci::Runner.access_levels['ref_protected'])
+ access_level: 'ref_protected')
shared_runner.reload
expect(response).to have_http_status(200)