railsappbuilder
2011-Jan-28 06:08 UTC
Rspec Testing Controller that Posts to Another Controller
Hello, I have a pages controller in which there''s a form on the pages index page that posts(user registration) to the users controller create action. Can I test this with Rspec inside of the pages controller spec? I can''t seem to figure out how. Its looking like controller specs are specific to their controller and maybe I can only do this through integration tests? Thanks -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.