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

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