Anyone know how to how to test pretty urls (set through routes.rb)? I
want
to don’t use get :action, because the routing changes how a certain
action
is requested. How does one go about testing this?
Thanks,
Tim C.
[email protected]
Anyone know how to how to test pretty urls (set through routes.rb)? I
want
to don’t use get :action, because the routing changes how a certain
action
is requested. How does one go about testing this?
Thanks,
Tim C.
[email protected]
Integration testing should be able to do what you’re after.
http://api.rubyonrails.org/classes/ActionController/IntegrationTest.html
Functional testing is used to test actions on an individual controller.
Integration testing makes you able to test your application at a higher
level.
-Jonathan.
You know I think you’re right, Integration testing is so new I hadn’t
even
thought of approaching this problem that way.
Thanks!
Tim
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs