webrat/spec/integration/rails/config/routes.rb
2008-12-29 01:30:26 -05:00

7 lines
211 B
Ruby

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