diff options
author | Thong Kuah <tkuah@gitlab.com> | 2019-08-22 13:57:44 +0300 |
---|---|---|
committer | Thong Kuah <tkuah@gitlab.com> | 2019-08-22 15:15:24 +0300 |
commit | 8c42a0eac09cb349789c963d38ee4e3ff5ecc0a8 (patch) | |
tree | 73ebb2763804756b12d8b05b5e28b23be86350c9 /spec/lib/gitlab/view | |
parent | 34bf7df0ffd4c872b631f67fd9337930a9e40683 (diff) |
Add frozen_string_literal to lib part 2
Using the sed script from
https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
Diffstat (limited to 'spec/lib/gitlab/view')
-rw-r--r-- | spec/lib/gitlab/view/presenter/base_spec.rb | 2 | ||||
-rw-r--r-- | spec/lib/gitlab/view/presenter/delegated_spec.rb | 2 | ||||
-rw-r--r-- | spec/lib/gitlab/view/presenter/factory_spec.rb | 2 | ||||
-rw-r--r-- | spec/lib/gitlab/view/presenter/simple_spec.rb | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/spec/lib/gitlab/view/presenter/base_spec.rb b/spec/lib/gitlab/view/presenter/base_spec.rb index 02c2fd47197..e196ab23482 100644 --- a/spec/lib/gitlab/view/presenter/base_spec.rb +++ b/spec/lib/gitlab/view/presenter/base_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'spec_helper' describe Gitlab::View::Presenter::Base do diff --git a/spec/lib/gitlab/view/presenter/delegated_spec.rb b/spec/lib/gitlab/view/presenter/delegated_spec.rb index 940a2ce6ebd..0a21cd1358e 100644 --- a/spec/lib/gitlab/view/presenter/delegated_spec.rb +++ b/spec/lib/gitlab/view/presenter/delegated_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'spec_helper' describe Gitlab::View::Presenter::Delegated do diff --git a/spec/lib/gitlab/view/presenter/factory_spec.rb b/spec/lib/gitlab/view/presenter/factory_spec.rb index 6120bafb2e3..515a1b0a8e4 100644 --- a/spec/lib/gitlab/view/presenter/factory_spec.rb +++ b/spec/lib/gitlab/view/presenter/factory_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'spec_helper' describe Gitlab::View::Presenter::Factory do diff --git a/spec/lib/gitlab/view/presenter/simple_spec.rb b/spec/lib/gitlab/view/presenter/simple_spec.rb index 1795ed2405b..70e2b170a36 100644 --- a/spec/lib/gitlab/view/presenter/simple_spec.rb +++ b/spec/lib/gitlab/view/presenter/simple_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'spec_helper' describe Gitlab::View::Presenter::Simple do |