How to call a different post to a different controller in Rails Functional Test

Posted by Snehal on Stack Overflow See other posts from Stack Overflow or by Snehal
Published on 2010-05-12T02:31:23Z Indexed on 2010/05/12 2:34 UTC
Read the original article Hit count: 298

I want to make a post request to a different controller inside my functional test which is intended for a particular controller. However the post method in ActiveController class just takes the method to be called, it doesn't take the controller name to be called. Any ideas how to invoke a different controller?

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about functional-testing