diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-01-30 11:26:01 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-01-30 11:26:01 +0200 |
commit | b34fca92cde3e90ecd883ec3549ea64dc7e5ba80 (patch) | |
tree | 5cf3d7249e4e81f802f04877f0ef58128fa77a64 /lib/api/helpers.rb | |
parent | a25ec068e2856369ec6fae661e8b2fde7a534c02 (diff) | |
download | gitlab-ci-b34fca92cde3e90ecd883ec3549ea64dc7e5ba80.tar.gz |
Uppercase constants
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'lib/api/helpers.rb')
-rw-r--r-- | lib/api/helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/helpers.rb b/lib/api/helpers.rb index 28a3f2b..fb57938 100644 --- a/lib/api/helpers.rb +++ b/lib/api/helpers.rb @@ -22,7 +22,7 @@ module API end def authenticate_runners! - forbidden! unless params[:token] == GitlabCi::RunnersToken + forbidden! unless params[:token] == GitlabCi::RUNNERS_TOKEN end def authenticate_runner! |