method

clear_test_deliveries

Importance_0
v5.0.0.1 - Show latest stable - 0 notes - Class: ClearTestDeliveries
clear_test_deliveries() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionmailer/lib/action_mailer/test_case.rb, line 24
      def clear_test_deliveries
        if ActionMailer::Base.delivery_method == :test
          ActionMailer::Base.deliveries.clear
        end
      end
Register or log in to add new notes.