mirror of
https://github.com/redmine/redmine.git
synced 2026-05-05 18:55:30 +02:00
search engine improvements and simple test
git-svn-id: http://redmine.rubyforge.org/svn/trunk@285 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -111,4 +111,14 @@ class ProjectsControllerTest < Test::Unit::TestCase
|
||||
assert_template 'changelog'
|
||||
assert_not_nil assigns(:fixed_issues)
|
||||
end
|
||||
|
||||
def test_search
|
||||
get :search, :id => 1
|
||||
assert_response :success
|
||||
assert_template 'search'
|
||||
|
||||
get :search, :id => 1, :token => "can", :scope => ["issues", "news", "documents"]
|
||||
assert_response :success
|
||||
assert_template 'search'
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user