diff options
author | Thong Kuah <tkuah@gitlab.com> | 2019-07-25 17:24:42 +1200 |
---|---|---|
committer | Thong Kuah <tkuah@gitlab.com> | 2019-07-26 13:23:30 +1200 |
commit | 73e848850c2fbb890ae7d5e0886cd2d85aafa3d2 (patch) | |
tree | 4e89eb22ee178dad468dc09d801f4499b0c9127c /spec/features/markdown | |
parent | 9e91ae15a8194e75e2bc0703d51babb25d161807 (diff) | |
download | gitlab-ce-73e848850c2fbb890ae7d5e0886cd2d85aafa3d2.tar.gz |
Add frozen_string_literal to spec/features
Using the sed script from
https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
Diffstat (limited to 'spec/features/markdown')
-rw-r--r-- | spec/features/markdown/copy_as_gfm_spec.rb | 2 | ||||
-rw-r--r-- | spec/features/markdown/gitlab_flavored_markdown_spec.rb | 2 | ||||
-rw-r--r-- | spec/features/markdown/markdown_spec.rb | 2 | ||||
-rw-r--r-- | spec/features/markdown/math_spec.rb | 2 | ||||
-rw-r--r-- | spec/features/markdown/mermaid_spec.rb | 2 |
5 files changed, 10 insertions, 0 deletions
diff --git a/spec/features/markdown/copy_as_gfm_spec.rb b/spec/features/markdown/copy_as_gfm_spec.rb index c30ac9c4ae2..609d8d9976b 100644 --- a/spec/features/markdown/copy_as_gfm_spec.rb +++ b/spec/features/markdown/copy_as_gfm_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'spec_helper' describe 'Copy as GFM', :js do diff --git a/spec/features/markdown/gitlab_flavored_markdown_spec.rb b/spec/features/markdown/gitlab_flavored_markdown_spec.rb index 8fda3c7193e..f34af268630 100644 --- a/spec/features/markdown/gitlab_flavored_markdown_spec.rb +++ b/spec/features/markdown/gitlab_flavored_markdown_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'spec_helper' describe "GitLab Flavored Markdown" do diff --git a/spec/features/markdown/markdown_spec.rb b/spec/features/markdown/markdown_spec.rb index 8815643ca96..0efeffe3232 100644 --- a/spec/features/markdown/markdown_spec.rb +++ b/spec/features/markdown/markdown_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'spec_helper' require 'erb' diff --git a/spec/features/markdown/math_spec.rb b/spec/features/markdown/math_spec.rb index 16ad0d456be..68d99b4241a 100644 --- a/spec/features/markdown/math_spec.rb +++ b/spec/features/markdown/math_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'spec_helper' describe 'Math rendering', :js do diff --git a/spec/features/markdown/mermaid_spec.rb b/spec/features/markdown/mermaid_spec.rb index e3bcaca737e..aaaceebc216 100644 --- a/spec/features/markdown/mermaid_spec.rb +++ b/spec/features/markdown/mermaid_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'spec_helper' describe 'Mermaid rendering', :js do |