diff options
author | Stan Hu <stanhu@gmail.com> | 2019-03-05 10:19:19 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-03-05 10:19:19 +0300 |
commit | ad2f711adfe151f15f19559884cd84a8dd26e93e (patch) | |
tree | f8d0fa0110df106f8ae81f4585f720fae2246e94 | |
parent | b9fcefc895fe140018b97912891121f76afe6648 (diff) |
Add frozen_string_literal to new files
-rw-r--r-- | spec/lib/gitlab/dependency_linker/parser/gemfile_spec.rb | 2 | ||||
-rw-r--r-- | spec/policies/commit_policy_spec.rb | 2 | ||||
-rw-r--r-- | spec/validators/sha_validator_spec.rb | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/spec/lib/gitlab/dependency_linker/parser/gemfile_spec.rb b/spec/lib/gitlab/dependency_linker/parser/gemfile_spec.rb index f81dbcf62da..9bfb1b13a2b 100644 --- a/spec/lib/gitlab/dependency_linker/parser/gemfile_spec.rb +++ b/spec/lib/gitlab/dependency_linker/parser/gemfile_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'rails_helper' describe Gitlab::DependencyLinker::Parser::Gemfile do diff --git a/spec/policies/commit_policy_spec.rb b/spec/policies/commit_policy_spec.rb index 2259693cf01..41f6fb08426 100644 --- a/spec/policies/commit_policy_spec.rb +++ b/spec/policies/commit_policy_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'spec_helper' describe CommitPolicy do diff --git a/spec/validators/sha_validator_spec.rb b/spec/validators/sha_validator_spec.rb index b9242ef931e..dc1539cf318 100644 --- a/spec/validators/sha_validator_spec.rb +++ b/spec/validators/sha_validator_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'spec_helper' describe ShaValidator do |