Namespace
Methods
Constants
| Routes | = | ActionDispatch::Routing::RouteSet.new |
| APP | = | RoutedRackApp.new(Routes) |
Instance Public methods
app()
Link
test_send_mail()
Link
# File actionmailer/test/i18n_with_controller_test.rb, line 54 def test_send_mail Mail::SMTP.any_instance.expects(:deliver!) with_translation 'de', email_subject: '[Anmeldung] Willkommen' do get '/test/send_mail' assert_equal "Mail sent - Subject: [Anmeldung] Willkommen", @response.body end end
Instance Protected methods