Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (24 sloc) 0.986 kB
module ActionController
module Routing #:nodoc:
class RouteSet #:nodoc:
alias_method :draw_without_selenium_routes, :draw
def draw
draw_without_selenium_routes do |map|
map.connect 'selenium/setup',
:controller => 'selenium', :action => 'setup'
map.connect 'selenium/tests/*testname',
:controller => 'selenium', :action => 'test_file'
map.connect 'selenium/postResults',
:controller => 'selenium', :action => 'record'
map.connect 'selenium/postResults/:logFile',
:controller => 'selenium', :action => 'record', :requirements => { :logFile => /.*/ }
map.connect 'selenium/*filename',
:controller => 'selenium', :action => 'support_file'
map.connect 'switch_environment',
:controller => 'switch_environment', :action => 'index'
yield map if block_given?
end
end
end
end
end
Jump to Line
Something went wrong with that request. Please try again.