module ActionController module Routing #:nodoc: class RouteSet #:nodoc: alias_method :draw_without_selenium_testing_routes, :draw def draw draw_without_selenium_testing_routes do |map| map.connect 'selenium/setup', :controller => 'selenium', :action => 'setup' map.connect 'selenium/teardown', :controller => 'selenium', :action => 'teardown' map.connect 'selenium/tests/TestSuite.html', :controller => 'selenium', :action => 'test_suite' map.connect 'selenium/tests/:class/:method', :controller => 'selenium', :action => 'test' map.connect 'selenium/user-extensions.js', :controller => 'selenium', :action => 'user_extensions' map.connect 'selenium/styles.css', :controller => 'selenium', :action => 'styles' map.connect 'selenium/postResults', :controller => 'selenium', :action => 'post_results' map.connect 'selenium/:file', :controller => 'selenium', :action => 'file' yield map end end end end end