paytonrules / selenium-on-rails
- Source
- Commits
- Network (18)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Tree:
0b2aa0a
eric@8thlight.com (author)
Mon Nov 10 06:37:29 -0800 2008
commit 0b2aa0a4627ea6b4f9b415d4dfb0d325f092001d
tree 3b01eca1b316b53eb2541c60eb9c1924f7cdea70
parent d6e4768b103543fb0e4892f04ae7b9a9ed8614c9
tree 3b01eca1b316b53eb2541c60eb9c1924f7cdea70
parent d6e4768b103543fb0e4892f04ae7b9a9ed8614c9
selenium-on-rails / routes.rb
| 2a026911 » | Jonas | 2006-07-31 | 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 | 11 | map.connect 'selenium/postResults', | |
| 12 | :controller => 'selenium', :action => 'record' | ||||
| 13 | map.connect 'selenium/postResults/:logFile', | ||||
| 2df41cb9 » | Jonas | 2006-12-11 | 14 | :controller => 'selenium', :action => 'record', :requirements => { :logFile => /.*/ } | |
| 2a026911 » | Jonas | 2006-07-31 | 15 | map.connect 'selenium/*filename', | |
| 16 | :controller => 'selenium', :action => 'support_file' | ||||
| 0b2aa0a4 » | eric@8thlight.com | 2008-11-10 | 17 | map.connect 'switch_environment', | |
| 18 | :controller => 'switch_environment', :action => 'index' | ||||
| 766898b9 » | eric@8thlight.com | 2008-09-12 | 19 | yield map if block_given? | |
| 2a026911 » | Jonas | 2006-07-31 | 20 | end | |
| 21 | end | ||||
| 22 | end | ||||
| 23 | end | ||||
| 24 | end | ||||
