diff options
author | Javan Makhmali <javan@javan.us> | 2018-10-09 11:08:12 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-09 11:08:12 -0400 |
commit | dc63aa42b075969359699c4076ad233d66d49eec (patch) | |
tree | de853608b8412a14b0331da8e821b7b97de64e95 /test | |
parent | b1f69fa126bbeccab8abb4d427ec5cf8f4227b24 (diff) | |
parent | 34f2e9492b37cb52ae5ffe69308deecdc4cb7709 (diff) | |
download | rails-dc63aa42b075969359699c4076ad233d66d49eec.tar.gz rails-dc63aa42b075969359699c4076ad233d66d49eec.tar.bz2 rails-dc63aa42b075969359699c4076ad233d66d49eec.zip |
Merge pull request #22 from albertoalmagro/add-frozen-string-literal
Add frozen_string_literal: true
Diffstat (limited to 'test')
-rw-r--r-- | test/test_helper.rb | 2 | ||||
-rw-r--r-- | test/unit/attachment_test.rb | 2 | ||||
-rw-r--r-- | test/unit/content_test.rb | 2 | ||||
-rw-r--r-- | test/unit/model_test.rb | 2 | ||||
-rw-r--r-- | test/unit/plain_text_conversion_test.rb | 2 | ||||
-rw-r--r-- | test/unit/trix_attachment_test.rb | 2 |
6 files changed, 12 insertions, 0 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb index 79fde51549..7250cffea3 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + # Configure Rails Environment ENV["RAILS_ENV"] = "test" diff --git a/test/unit/attachment_test.rb b/test/unit/attachment_test.rb index 56a4ea1dd8..728742c366 100644 --- a/test/unit/attachment_test.rb +++ b/test/unit/attachment_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class ActionText::AttachmentTest < ActiveSupport::TestCase diff --git a/test/unit/content_test.rb b/test/unit/content_test.rb index dada9cc714..17bc6c0013 100644 --- a/test/unit/content_test.rb +++ b/test/unit/content_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class ActionText::ContentTest < ActiveSupport::TestCase diff --git a/test/unit/model_test.rb b/test/unit/model_test.rb index 50632c19a7..99a249946a 100644 --- a/test/unit/model_test.rb +++ b/test/unit/model_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class ActionText::ModelTest < ActiveSupport::TestCase diff --git a/test/unit/plain_text_conversion_test.rb b/test/unit/plain_text_conversion_test.rb index 47c95b6bc3..fd67f8eca8 100644 --- a/test/unit/plain_text_conversion_test.rb +++ b/test/unit/plain_text_conversion_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class ActionText::PlainTextConversionTest < ActiveSupport::TestCase diff --git a/test/unit/trix_attachment_test.rb b/test/unit/trix_attachment_test.rb index fe834c8663..9cb338b8c2 100644 --- a/test/unit/trix_attachment_test.rb +++ b/test/unit/trix_attachment_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class ActionText::TrixAttachmentTest < ActiveSupport::TestCase |