Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-11-23 12:43:47 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-11-23 12:43:47 +0300
commit718ea942dc1b2ef749bf852a19a86f0928e4b36d (patch)
tree2b73213ccd61fad53fa0c9ee224d6a579ab96837 /lib/gitlab/background_migration
parent636b038e01c7064c6d1a88359f0370dbefc323e1 (diff)
Improve test cases description in token-related specs
Diffstat (limited to 'lib/gitlab/background_migration')
-rw-r--r--lib/gitlab/background_migration/models/encrypt_columns/runner.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/background_migration/models/encrypt_columns/runner.rb b/lib/gitlab/background_migration/models/encrypt_columns/runner.rb
index 425f9f6c346..14ddce4b147 100644
--- a/lib/gitlab/background_migration/models/encrypt_columns/runner.rb
+++ b/lib/gitlab/background_migration/models/encrypt_columns/runner.rb
@@ -13,7 +13,7 @@ module Gitlab
self.table_name = 'ci_runners'
self.inheritance_column = :_type_disabled
- def runners_token=(value)
+ def token=(value)
self.token_encrypted =
::Gitlab::CryptoHelper.aes256_gcm_encrypt(value)
end