summaryrefslogtreecommitdiffstats
path: root/test/integration/routing/search_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-04-08 20:06:53 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-04-08 20:06:53 +0000
commitd2cb9d5289e485a77a40899a43a2283ace7c957e (patch)
tree8153b475f3fa555d615c246779110a443ced1197 /test/integration/routing/search_test.rb
parentd427d8e5675ca21da25f8fefce6b8c2156f3b3d8 (diff)
downloadredmine-d2cb9d5289e485a77a40899a43a2283ace7c957e.tar.gz
redmine-d2cb9d5289e485a77a40899a43a2283ace7c957e.zip
Adds missing route to project search.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9371 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration/routing/search_test.rb')
-rw-r--r--test/integration/routing/search_test.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/integration/routing/search_test.rb b/test/integration/routing/search_test.rb
index 23c1271eb..f5b24ce35 100644
--- a/test/integration/routing/search_test.rb
+++ b/test/integration/routing/search_test.rb
@@ -23,5 +23,9 @@ class RoutingSearchTest < ActionController::IntegrationTest
{ :method => 'get', :path => "/search" },
{ :controller => 'search', :action => 'index' }
)
+ assert_routing(
+ { :method => 'get', :path => "/projects/foo/search" },
+ { :controller => 'search', :action => 'index', :id => 'foo' }
+ )
end
end