webrat/spec/integration/rails/config/routes.rb

15 lines
758 B
Ruby
Raw Normal View History

ActionController::Routing::Routes.draw do |map|
2008-12-29 06:30:26 +00:00
map.with_options :controller => "webrat" do |webrat|
2009-01-05 04:56:52 +00:00
webrat.submit "/submit", :action => "submit"
webrat.internal_redirect "/internal_redirect", :action => "internal_redirect"
webrat.external_redirect "/external_redirect", :action => "external_redirect"
webrat.infinite_redirect "/infinite_redirect", :action => "infinite_redirect"
2009-04-08 00:30:12 +00:00
webrat.before_redirect_form "/before_redirect_form", :action => "before_redirect_form"
webrat.redirect_to_show_params "/redirect_to_show_params", :action => "redirect_to_show_params"
webrat.show_params "/show_params", :action => "show_params"
2009-04-08 00:30:12 +00:00
webrat.root :action => "form"
2008-12-29 06:30:26 +00:00
end
end