summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-09-27 17:28:22 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-09-27 17:28:22 +0000
commita96421019f3a813b93798e4ec8099edd09f8a661 (patch)
tree102827aea563063b29ae21800bfff88fb16550f9 /test
parentd723bea502faedb218f929b40849935d61c577e2 (diff)
downloadredmine-a96421019f3a813b93798e4ec8099edd09f8a661.tar.gz
redmine-a96421019f3a813b93798e4ec8099edd09f8a661.zip
Search engines now supports pagination.
Results are sorted in reverse chronological order. git-svn-id: http://redmine.rubyforge.org/svn/trunk@766 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/functional/search_controller_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/search_controller_test.rb b/test/functional/search_controller_test.rb
index 69e78ac62..4ed7931f6 100644
--- a/test/functional/search_controller_test.rb
+++ b/test/functional/search_controller_test.rb
@@ -31,7 +31,7 @@ class SearchControllerTest < Test::Unit::TestCase
assert_template 'index'
assert_not_nil assigns(:project)
- get :index, :id => 1, :q => "can", :scope => ["issues", "news", "documents"]
+ get :index, :id => 1, :q => "can"
assert_response :success
assert_template 'index'
end