summaryrefslogtreecommitdiff
path: root/spec/factories/namespaces.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/namespaces.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/namespaces.rb')
-rw-r--r--spec/factories/namespaces.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/factories/namespaces.rb b/spec/factories/namespaces.rb
index 0cfc6e3aa46..09dbe16ef9e 100644
--- a/spec/factories/namespaces.rb
+++ b/spec/factories/namespaces.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
FactoryBot.define do
factory :namespace do
sequence(:name) { |n| "namespace#{n}" }