aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/commands/console_test.rb
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2014-07-29 09:21:47 +0200
committerYves Senn <yves.senn@gmail.com>2014-07-29 09:24:06 +0200
commitb8120ab14d695d5ae7392193a6135b5e7cef9c80 (patch)
tree0f9115cf688c19e6b3180aca03a2e844a399493e /railties/test/commands/console_test.rb
parent6924f848c45897004ba9cc4f96c032286dcce346 (diff)
downloadrails-b8120ab14d695d5ae7392193a6135b5e7cef9c80.tar.gz
rails-b8120ab14d695d5ae7392193a6135b5e7cef9c80.tar.bz2
rails-b8120ab14d695d5ae7392193a6135b5e7cef9c80.zip
Raise an exception when attachments are added after `mail` was called.
Closes #16163 Adding attachments after a call to `mail` will result in invalid emails. This is related to the fact, that `mail` is making the required preparations before the email is ready to be sent. These change depending on your added attachments.
Diffstat (limited to 'railties/test/commands/console_test.rb')
0 files changed, 0 insertions, 0 deletions