Hi, I'm trying to install exception notification plugin and test it with rspec. The problem that I have is that when running the server in production mode : at the end of the log i get this when I have a critical error
rendering section "request" rendering section "session" rendering section "environment" rendering section "backtrace" Sent mail to [email protected] but the spec fails : ActionMailer::Base.delivery_method = 'test' ActionMailer::Base.perform_deliveries = false ActionMailer::Base.deliveries = [] @size_before = ActionMailer::Base.deliveries.count lambda { get 'dummy_method_raises_exception' }.should raise_error (RuntimeError) ActionMailer::Base.deliveries.count.should eql(@size_before + 1) <==== here I got 0 and not 1 Does someone have an idea about this problem? Thank you by advance -Yoann --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

