Hi,

I know that I should use IntegrationTests to test flows of data. For
example, when an action requires various controllers. My question is, if
I can't post to another controller from for example
organizacions_controller_test.rb, how I can test its actions if those
actions require to be logged?

I can't post 'users/login', :user => {...}
I can't post {:controller => 'users', :action=>'login'}, :user =>{...}

etc...

Thanks.
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to