paytonrules / selenium-on-rails

The "official" Selenium On Rails repository, synced with OpenQA.

This URL has Read+Write access

eric@8thlight.com (author)
Mon Nov 10 06:37:29 -0800 2008
commit  0b2aa0a4627ea6b4f9b415d4dfb0d325f092001d
tree    3b01eca1b316b53eb2541c60eb9c1924f7cdea70
parent  d6e4768b103543fb0e4892f04ae7b9a9ed8614c9
selenium-on-rails / routes.rb
2a026911 » Jonas 2006-07-31 r788@D600 (orig r1): dev ... 1 module ActionController
2 module Routing #:nodoc:
3 class RouteSet #:nodoc:
4 alias_method :draw_without_selenium_routes, :draw
5 def draw
6 draw_without_selenium_routes do |map|
7 map.connect 'selenium/setup',
8 :controller => 'selenium', :action => 'setup'
9 map.connect 'selenium/tests/*testname',
10 :controller => 'selenium', :action => 'test_file'
815de581 » Jonas 2006-07-31 r798@D600 (orig r4): dev ... 11 map.connect 'selenium/postResults',
12 :controller => 'selenium', :action => 'record'
13 map.connect 'selenium/postResults/:logFile',
2df41cb9 » Jonas 2006-12-11 routes.rb compatible with R... 14 :controller => 'selenium', :action => 'record', :requirements => { :logFile => /.*/ }
2a026911 » Jonas 2006-07-31 r788@D600 (orig r1): dev ... 15 map.connect 'selenium/*filename',
16 :controller => 'selenium', :action => 'support_file'
0b2aa0a4 » eric@8thlight.com 2008-11-10 Corrected the routes for wh... 17 map.connect 'switch_environment',
18 :controller => 'switch_environment', :action => 'index'
766898b9 » eric@8thlight.com 2008-09-12 THe first pass at making al... 19 yield map if block_given?
2a026911 » Jonas 2006-07-31 r788@D600 (orig r1): dev ... 20 end
21 end
22 end
23 end
24 end