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

9 lines
258 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|
webrat.submit "/submit", :action => "submit"
webrat.redirect "/redirect", :action => "redirect"
webrat.root :action => "form"
2008-12-29 06:30:26 +00:00
end
end