aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-12-12 20:00:50 +0900
committerRyuta Kamizono <kamipo@gmail.com>2017-12-12 20:00:50 +0900
commit2b35826389005bdb0af85a4ebb1f0ec213174d13 (patch)
tree9cbe8da4d50bd291d1f9cd5b7c6a1bd464470914 /actionmailer
parent38b2904f2c9d89868e96edd71c5f3143ca235a88 (diff)
downloadrails-2b35826389005bdb0af85a4ebb1f0ec213174d13.tar.gz
rails-2b35826389005bdb0af85a4ebb1f0ec213174d13.tar.bz2
rails-2b35826389005bdb0af85a4ebb1f0ec213174d13.zip
Enable `Layout/SpaceBeforeComma` rubocop rule, and fixed more
Follow up of #31390.
Diffstat (limited to 'actionmailer')
-rw-r--r--actionmailer/test/message_delivery_test.rb2
-rw-r--r--actionmailer/test/url_test.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/actionmailer/test/message_delivery_test.rb b/actionmailer/test/message_delivery_test.rb
index 03e8d4fb66..f8dcb3f4ba 100644
--- a/actionmailer/test/message_delivery_test.rb
+++ b/actionmailer/test/message_delivery_test.rb
@@ -39,7 +39,7 @@ class MessageDeliveryTest < ActiveSupport::TestCase
end
test "its message should be a Mail::Message" do
- assert_equal Mail::Message , @mail.message.class
+ assert_equal Mail::Message, @mail.message.class
end
test "should respond to .deliver_later" do
diff --git a/actionmailer/test/url_test.rb b/actionmailer/test/url_test.rb
index 82035689ad..3c940bc969 100644
--- a/actionmailer/test/url_test.rb
+++ b/actionmailer/test/url_test.rb
@@ -105,7 +105,7 @@ class ActionMailerUrlTest < ActionMailer::TestCase
assert_url_for "/dummy_model", DummyModel
# array
- assert_url_for "/dummy_model" , [DummyModel]
+ assert_url_for "/dummy_model", [DummyModel]
end
def test_signed_up_with_url