diff options
author | Daniel Colson <danieljamescolson@gmail.com> | 2018-01-24 21:14:10 -0500 |
---|---|---|
committer | Daniel Colson <danieljamescolson@gmail.com> | 2018-01-25 23:32:58 -0500 |
commit | 0d50cae996c51630361e8514e1f168b0c48957e1 (patch) | |
tree | dfbf9609ff6f3d859e584874ac6d8bdc91304c08 /actionmailer | |
parent | 8baca31dbe522cb407f0b3b8c8d3d4a6804e5aed (diff) | |
download | rails-0d50cae996c51630361e8514e1f168b0c48957e1.tar.gz rails-0d50cae996c51630361e8514e1f168b0c48957e1.tar.bz2 rails-0d50cae996c51630361e8514e1f168b0c48957e1.zip |
Use respond_to test helpers
Diffstat (limited to 'actionmailer')
-rw-r--r-- | actionmailer/test/base_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionmailer/test/base_test.rb b/actionmailer/test/base_test.rb index ac90809518..4124aa00bd 100644 --- a/actionmailer/test/base_test.rb +++ b/actionmailer/test/base_test.rb @@ -506,8 +506,8 @@ class BaseTest < ActiveSupport::TestCase test "should respond to action methods" do assert_respond_to BaseMailer, :welcome assert_respond_to BaseMailer, :implicit_multipart - assert !BaseMailer.respond_to?(:mail) - assert !BaseMailer.respond_to?(:headers) + assert_not_respond_to BaseMailer, :mail + assert_not_respond_to BaseMailer, :headers end test "calling just the action should return the generated mail object" do |