summaryrefslogtreecommitdiff
path: root/spec/requests
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2017-08-28 21:40:52 +0900
committerShinya Maeda <shinya@gitlab.com>2017-09-03 23:49:10 +0900
commit3875983205fd3cdbdc93f18b118deaf098d75af1 (patch)
tree72d9f2e1099555d0766919df79d46fcbf1275148 /spec/requests
parent4b0e31ba64118011ffc29c31bc771fa2568cd270 (diff)
downloadgitlab-ce-3875983205fd3cdbdc93f18b118deaf098d75af1.tar.gz
Impprove spec by godfat suggestions
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 b8d98818a8c..5a6edad8118 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: 1)
+ access_level: Ci::Runner.access_levels['protected_'])
shared_runner.reload
expect(response).to have_http_status(200)