#post method in tests with a different controller

by moneypenny | November 15, 2006 at 06:05 am
331 views | 0 Recommendations | 0 comments
I wanted a #login method in test_helper that would allow me to easily login from any of my functional tests. However, the #post method won’t allow you to set a different controller than the one in the @controller instance variable that’s defined in your test’s #setup.
Advertisement

Comments (0)

This story was created over 3 months ago, the comment thread is now closed.

closeSign in to NowPublic

is reporting from