[rspec-users] problems testing a rails controller

Jay Donnell jaydonnell at yahoo.com
Thu Jan 18 17:51:30 EST 2007

"Mmm... You're posting to the action 'search.rjs', but
what you want to
test is the action 'search'"

My understanding is that the new restful stuff in edge
rails (i.e. the respond_to) method will use the
extension to determine which output type to use. This
code runs fine outside of the tests and I am using
urls with extensions.

What is the usual way to test various respond_to
output types from rspec? 

Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.

More information about the rspec-users mailing list