assert_select_email and rails 2.3.2

16 views
Skip to first unread message

silent (e)

unread,
Mar 19, 2009, 9:03:23 PM3/19/09
to Ruby on Rails: Talk
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.

(e)

silent (e)

unread,
Apr 2, 2009, 6:39:59 PM4/2/09
to Ruby on Rails: Talk
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.

(e)
Reply all
Reply to author
Forward
0 new messages