aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDino Maric <dino.onex@gmail.com>2018-12-14 11:06:12 +0100
committerDino Maric <dino.onex@gmail.com>2018-12-14 11:06:12 +0100
commit4412ca6dac7dce284e2010678f7f2e276d60e4d1 (patch)
treeef47c14cd5164aa74ec0ffea4a4a553dd1e32ab4 /test
parentaf7d237002aca9667f28923f7181db7cb5e51460 (diff)
downloadrails-4412ca6dac7dce284e2010678f7f2e276d60e4d1.tar.gz
rails-4412ca6dac7dce284e2010678f7f2e276d60e4d1.tar.bz2
rails-4412ca6dac7dce284e2010678f7f2e276d60e4d1.zip
Add frozen_string_literal: true to match Rails codebase
Diffstat (limited to 'test')
-rw-r--r--test/controllers/ingresses/amazon/inbound_emails_controller_test.rb2
-rw-r--r--test/controllers/ingresses/mailgun/inbound_emails_controller_test.rb2
-rw-r--r--test/controllers/ingresses/mandrill/inbound_emails_controller_test.rb2
-rw-r--r--test/controllers/ingresses/postfix/inbound_emails_controller_test.rb2
-rw-r--r--test/controllers/ingresses/sendgrid/inbound_emails_controller_test.rb2
-rw-r--r--test/test_helper.rb2
-rw-r--r--test/unit/inbound_email/incineration_test.rb2
-rw-r--r--test/unit/inbound_email/message_id_test.rb2
-rw-r--r--test/unit/inbound_email_test.rb2
-rw-r--r--test/unit/mail_ext/address_equality_test.rb2
-rw-r--r--test/unit/mail_ext/address_wrapping_test.rb2
-rw-r--r--test/unit/mail_ext/recipients_test.rb2
-rw-r--r--test/unit/mailbox/bouncing_test.rb2
-rw-r--r--test/unit/mailbox/callbacks_test.rb2
-rw-r--r--test/unit/mailbox/routing_test.rb2
-rw-r--r--test/unit/mailbox/state_test.rb2
-rw-r--r--test/unit/postfix_relayer_test.rb2
-rw-r--r--test/unit/router_test.rb2
18 files changed, 36 insertions, 0 deletions
diff --git a/test/controllers/ingresses/amazon/inbound_emails_controller_test.rb b/test/controllers/ingresses/amazon/inbound_emails_controller_test.rb
index c36c500cbe..e10985553e 100644
--- a/test/controllers/ingresses/amazon/inbound_emails_controller_test.rb
+++ b/test/controllers/ingresses/amazon/inbound_emails_controller_test.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "test_helper"
ActionMailbox::Ingresses::Amazon::InboundEmailsController.verifier =
diff --git a/test/controllers/ingresses/mailgun/inbound_emails_controller_test.rb b/test/controllers/ingresses/mailgun/inbound_emails_controller_test.rb
index c5ec71013e..3f225b8953 100644
--- a/test/controllers/ingresses/mailgun/inbound_emails_controller_test.rb
+++ b/test/controllers/ingresses/mailgun/inbound_emails_controller_test.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "test_helper"
ENV["MAILGUN_INGRESS_API_KEY"] = "tbsy84uSV1Kt3ZJZELY2TmShPRs91E3yL4tzf96297vBCkDWgL"
diff --git a/test/controllers/ingresses/mandrill/inbound_emails_controller_test.rb b/test/controllers/ingresses/mandrill/inbound_emails_controller_test.rb
index c8a8e731d6..40f956c930 100644
--- a/test/controllers/ingresses/mandrill/inbound_emails_controller_test.rb
+++ b/test/controllers/ingresses/mandrill/inbound_emails_controller_test.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "test_helper"
ENV["MANDRILL_INGRESS_API_KEY"] = "1l9Qf7lutEf7h73VXfBwhw"
diff --git a/test/controllers/ingresses/postfix/inbound_emails_controller_test.rb b/test/controllers/ingresses/postfix/inbound_emails_controller_test.rb
index 5e0777aa30..d646f5e859 100644
--- a/test/controllers/ingresses/postfix/inbound_emails_controller_test.rb
+++ b/test/controllers/ingresses/postfix/inbound_emails_controller_test.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "test_helper"
class ActionMailbox::Ingresses::Postfix::InboundEmailsControllerTest < ActionDispatch::IntegrationTest
diff --git a/test/controllers/ingresses/sendgrid/inbound_emails_controller_test.rb b/test/controllers/ingresses/sendgrid/inbound_emails_controller_test.rb
index 0c7d0d6846..59a87e9248 100644
--- a/test/controllers/ingresses/sendgrid/inbound_emails_controller_test.rb
+++ b/test/controllers/ingresses/sendgrid/inbound_emails_controller_test.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "test_helper"
class ActionMailbox::Ingresses::Sendgrid::InboundEmailsControllerTest < ActionDispatch::IntegrationTest
diff --git a/test/test_helper.rb b/test/test_helper.rb
index 31fc59bba2..d0d802fdb5 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
ENV["RAILS_ENV"] = "test"
ENV["RAILS_INBOUND_EMAIL_PASSWORD"] = "tbsy84uSV1Kt3ZJZELY2TmShPRs91E3yL4tzf96297vBCkDWgL"
diff --git a/test/unit/inbound_email/incineration_test.rb b/test/unit/inbound_email/incineration_test.rb
index b46101bcc4..bcaee16de4 100644
--- a/test/unit/inbound_email/incineration_test.rb
+++ b/test/unit/inbound_email/incineration_test.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require_relative '../../test_helper'
class ActionMailbox::InboundEmail::IncinerationTest < ActiveSupport::TestCase
diff --git a/test/unit/inbound_email/message_id_test.rb b/test/unit/inbound_email/message_id_test.rb
index 1cc3de360e..00e65614ec 100644
--- a/test/unit/inbound_email/message_id_test.rb
+++ b/test/unit/inbound_email/message_id_test.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require_relative '../../test_helper'
class ActionMailbox::InboundEmail::MessageIdTest < ActiveSupport::TestCase
diff --git a/test/unit/inbound_email_test.rb b/test/unit/inbound_email_test.rb
index 7c42188584..42349bc7b4 100644
--- a/test/unit/inbound_email_test.rb
+++ b/test/unit/inbound_email_test.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require_relative '../test_helper'
module ActionMailbox
diff --git a/test/unit/mail_ext/address_equality_test.rb b/test/unit/mail_ext/address_equality_test.rb
index 56e9bfa47f..7ea4360b76 100644
--- a/test/unit/mail_ext/address_equality_test.rb
+++ b/test/unit/mail_ext/address_equality_test.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require_relative '../../test_helper'
module MailExt
diff --git a/test/unit/mail_ext/address_wrapping_test.rb b/test/unit/mail_ext/address_wrapping_test.rb
index 6baa360f3e..a9ae820e26 100644
--- a/test/unit/mail_ext/address_wrapping_test.rb
+++ b/test/unit/mail_ext/address_wrapping_test.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require_relative '../../test_helper'
module MailExt
diff --git a/test/unit/mail_ext/recipients_test.rb b/test/unit/mail_ext/recipients_test.rb
index e39e1eb89c..4730896354 100644
--- a/test/unit/mail_ext/recipients_test.rb
+++ b/test/unit/mail_ext/recipients_test.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require_relative '../../test_helper'
module MailExt
diff --git a/test/unit/mailbox/bouncing_test.rb b/test/unit/mailbox/bouncing_test.rb
index 6ac806ba29..ce5de36ff6 100644
--- a/test/unit/mailbox/bouncing_test.rb
+++ b/test/unit/mailbox/bouncing_test.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require_relative '../../test_helper'
class BouncingWithReplyMailbox < ActionMailbox::Base
diff --git a/test/unit/mailbox/callbacks_test.rb b/test/unit/mailbox/callbacks_test.rb
index 279bf7e574..ae720155cf 100644
--- a/test/unit/mailbox/callbacks_test.rb
+++ b/test/unit/mailbox/callbacks_test.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require_relative '../../test_helper'
class CallbackMailbox < ActionMailbox::Base
diff --git a/test/unit/mailbox/routing_test.rb b/test/unit/mailbox/routing_test.rb
index f30199b7af..a83fbdacf2 100644
--- a/test/unit/mailbox/routing_test.rb
+++ b/test/unit/mailbox/routing_test.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require_relative '../../test_helper'
class ApplicationMailbox < ActionMailbox::Base
diff --git a/test/unit/mailbox/state_test.rb b/test/unit/mailbox/state_test.rb
index 32d16ca8fe..78b7d21cd7 100644
--- a/test/unit/mailbox/state_test.rb
+++ b/test/unit/mailbox/state_test.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require_relative '../../test_helper'
class SuccessfulMailbox < ActionMailbox::Base
diff --git a/test/unit/postfix_relayer_test.rb b/test/unit/postfix_relayer_test.rb
index 9d6e49dee3..b448bf6f9b 100644
--- a/test/unit/postfix_relayer_test.rb
+++ b/test/unit/postfix_relayer_test.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require_relative '../test_helper'
require 'action_mailbox/postfix_relayer'
diff --git a/test/unit/router_test.rb b/test/unit/router_test.rb
index 70d39ba6a1..ec60fb0889 100644
--- a/test/unit/router_test.rb
+++ b/test/unit/router_test.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require_relative '../test_helper'
class RootMailbox < ActionMailbox::Base