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
This commit is contained in:
Jean-Philippe Lang
2007-09-27 17:28:22 +00:00
parent d723bea502
commit a96421019f
22 changed files with 178 additions and 58 deletions
+1 -1
View File
@@ -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