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

10 lines
386 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.root :action => "form"
2008-12-29 06:30:26 +00:00
end
end