Assert_select_email and rails 2.3.2

Is anyone else getting “undefined method ‘assert_select_email’” when
testing in rails 2.3.2?

I saw a comment on the Core list that it appeared to have regressed in
a recent RC but no one followed up on it.


I found a “fix” (more a workaround) for this. Just add the following
line to the class in test_helper.rb

include ActionController::Assertions::SelectorAssertions

Hopefully this gets fixed in an upcoming release.


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs