diff options
author | Dmitry Polushkin <dmitry.polushkin@gmail.com> | 2014-02-09 18:41:41 +0000 |
---|---|---|
committer | Dmitry Polushkin <dmitry.polushkin@gmail.com> | 2014-02-09 18:41:41 +0000 |
commit | 5af7cab02ddd95e6813738e9de69b64fe560dbcd (patch) | |
tree | bd6ea0f1b537d29b7265e536f20989c5b00d2b65 /actionmailer/lib | |
parent | ec43584431f61ad56f335033b650a906f44fbf40 (diff) | |
download | rails-5af7cab02ddd95e6813738e9de69b64fe560dbcd.tar.gz rails-5af7cab02ddd95e6813738e9de69b64fe560dbcd.tar.bz2 rails-5af7cab02ddd95e6813738e9de69b64fe560dbcd.zip |
add actionmailer test coverage for undefined delivery method
Diffstat (limited to 'actionmailer/lib')
-rw-r--r-- | actionmailer/lib/action_mailer/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionmailer/lib/action_mailer/base.rb b/actionmailer/lib/action_mailer/base.rb index 388f694590..eb8cca9ee4 100644 --- a/actionmailer/lib/action_mailer/base.rb +++ b/actionmailer/lib/action_mailer/base.rb @@ -764,7 +764,7 @@ module ActionMailer m.charset = charset = headers[:charset] # Set configure delivery behavior - wrap_delivery_behavior!(headers.delete(:delivery_method),headers.delete(:delivery_method_options)) + wrap_delivery_behavior!(headers.delete(:delivery_method), headers.delete(:delivery_method_options)) # Assign all headers except parts_order, content_type and body assignable = headers.except(:parts_order, :content_type, :body, :template_name, :template_path) |