From 0a39e1ea7e37f9fb0a1fb12d5dd7b13b60497d65 Mon Sep 17 00:00:00 2001 From: Eric Allen Date: Thu, 2 Oct 2008 20:25:58 -0400 Subject: [PATCH] Fix routes to re-enable Selenium tests --- config/routes.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/routes.rb b/config/routes.rb index a4eb29e3..c1b0180f 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -55,6 +55,10 @@ ActionController::Routing::Routes.draw do |map| map.feeds 'feeds', :controller => 'feedlist', :action => 'index' 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.integrations 'integrations', :controller => 'integrations', :action => 'index'