Undefined method 'assert_select_email' in ActionMailer tests [Rails 3.2.13] -


I am getting the following error when trying to use assert_select_email in my mailer test:

  assert_select_email 'for the undefined method' ...  

Test class from to & lt; ActionMailer :: TestCase and other asserttions such as 'assert_equal' work.

As noted here:

I set

  ActionMailer :: Base.perform_deliveries = true < / Code> 

Any thoughts? Oh, I use

  • Rail 3.2.13

It seems because it is not

Do you want to?


Comments