mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-17 15:50:13 +01:00
Fix routes to re-enable Selenium tests
This commit is contained in:
parent
eae4d0f6f1
commit
0a39e1ea7e
1 changed files with 4 additions and 0 deletions
|
|
@ -55,6 +55,10 @@ ActionController::Routing::Routes.draw do |map|
|
||||||
map.feeds 'feeds', :controller => 'feedlist', :action => 'index'
|
map.feeds 'feeds', :controller => 'feedlist', :action => 'index'
|
||||||
map.feeds 'feeds.m', :controller => 'feedlist', :action => 'index', :format => 'm'
|
map.feeds 'feeds.m', :controller => 'feedlist', :action => 'index', :format => 'm'
|
||||||
|
|
||||||
|
if Rails.env == 'test'
|
||||||
|
map.connect '/selenium_helper/login', :controller => 'selenium_helper', :action => 'login'
|
||||||
|
end
|
||||||
|
|
||||||
map.preferences 'preferences', :controller => 'preferences', :action => 'index'
|
map.preferences 'preferences', :controller => 'preferences', :action => 'index'
|
||||||
map.integrations 'integrations', :controller => 'integrations', :action => 'index'
|
map.integrations 'integrations', :controller => 'integrations', :action => 'index'
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue