Forum: Ruby on Rails Functional testing Pretty Urls

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Tim C. (Guest)
on 2006-04-07 04:05
(Received via mailing list)
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.
removed_email_address@domain.invalid
Jonathan V. (Guest)
on 2006-04-07 04:14
(Received via mailing list)
Integration testing should be able to do what you're after.

http://api.rubyonrails.org/classes/ActionControlle...

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.
Tim C. (Guest)
on 2006-04-07 05:54
(Received via mailing list)
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 topic is locked and can not be replied to.