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

9 lines
258 B
Ruby

ActionController::Routing::Routes.draw do |map|
map.with_options :controller => "webrat" do |webrat|
webrat.submit "/submit", :action => "submit"
webrat.redirect "/redirect", :action => "redirect"
webrat.root :action => "form"
end
end