Commit 1009c905b1214ee6715dd78b34a3ec69374833a3
1 parent
7793e384
Exists in
master
and in
29 other branches
Fixed send_email plugin tests
Some tests were broken after changes on routes included with commit bfce4eb13212734b675c4fd07f23ecca6946cb3e
Showing
9 changed files
with
17 additions
and
18 deletions
Show diff stats
plugins/send_email/controllers/send_email_plugin_controller.rb
0 → 100644
plugins/send_email/controllers/send_email_plugin_environment_controller.rb
plugins/send_email/test/functional/send_email_plugin_base_controller_test.rb
... | ... | @@ -59,7 +59,7 @@ class SendEmailPluginProfileControllerTest < ActionController::TestCase |
59 | 59 | run_common_tests() |
60 | 60 | end |
61 | 61 | |
62 | -class SendEmailPluginEnvironmentControllerTest < ActionController::TestCase | |
62 | +class SendEmailPluginControllerTest < ActionController::TestCase | |
63 | 63 | def setup |
64 | 64 | ActionMailer::Base.delivery_method = :test |
65 | 65 | ActionMailer::Base.perform_deliveries = true | ... | ... |
plugins/send_email/views/send_email_plugin/success.rhtml
0 → 100644
... | ... | @@ -0,0 +1,8 @@ |
1 | +<h2><%= _('Message sent') %></h2> | |
2 | + | |
3 | +<table class='sendemail-plugin-message-sent'> | |
4 | + <tr><td class='label'><strong><%= _('Subject') %>:</strong></td><td class='value'><em><%=h @mail.subject %></em></td></tr> | |
5 | + <tr><td class='label'><strong><%= _('Message') %>:</strong></td><td class='value'><pre><%=h render :file => 'send_email_plugin/sender/message' %></pre></td></tr> | |
6 | +</table> | |
7 | + | |
8 | +<p><%= button :back, _('Back'), :back %></p> | ... | ... |
plugins/send_email/views/send_email_plugin_base/fail.rhtml
plugins/send_email/views/send_email_plugin_base/success.rhtml
... | ... | @@ -1,8 +0,0 @@ |
1 | -<h2><%= _('Message sent') %></h2> | |
2 | - | |
3 | -<table class='sendemail-plugin-message-sent'> | |
4 | - <tr><td class='label'><strong><%= _('Subject') %>:</strong></td><td class='value'><em><%=h @mail.subject %></em></td></tr> | |
5 | - <tr><td class='label'><strong><%= _('Message') %>:</strong></td><td class='value'><pre><%=h render :file => 'send_email_plugin/sender/message' %></pre></td></tr> | |
6 | -</table> | |
7 | - | |
8 | -<p><%= button :back, _('Back'), :back %></p> |
plugins/send_email/views/send_email_plugin_environment
plugins/send_email/views/send_email_plugin_profile