summaryrefslogtreecommitdiff
path: root/spec/factories/deploy_tokens.rb
diff options
context:
space:
mode:
authorThong Kuah <tkuah@gitlab.com>2019-07-25 17:11:48 +1200
committerThong Kuah <tkuah@gitlab.com>2019-07-26 13:18:39 +1200
commit94bb660460bd3b01e289d6deb431774694f3ebb7 (patch)
tree502416f1683c1d904ae6e3665ef615761c881176 /spec/factories/deploy_tokens.rb
parent9e91ae15a8194e75e2bc0703d51babb25d161807 (diff)
downloadgitlab-ce-94bb660460bd3b01e289d6deb431774694f3ebb7.tar.gz
Add frozen_string_literal to spec/factoriesfrozen_string_spec_factories
Using the sed script from https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
Diffstat (limited to 'spec/factories/deploy_tokens.rb')
-rw-r--r--spec/factories/deploy_tokens.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/factories/deploy_tokens.rb b/spec/factories/deploy_tokens.rb
index 017e866e69c..a96258f5cbe 100644
--- a/spec/factories/deploy_tokens.rb
+++ b/spec/factories/deploy_tokens.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
FactoryBot.define do
factory :deploy_token do
token { SecureRandom.hex(50) }