diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-11-29 20:08:14 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-11-29 20:08:14 +0000 |
commit | 2cf11bd64e7b272171f72cac1572e26224daf4ca (patch) | |
tree | 00a7aa2a9c18f16e4a2f099173e189d349097330 /test/functional/search_controller_test.rb | |
parent | bf6e02c7394a468ac4a385c179e2eb7c3769eb52 (diff) | |
download | redmine-2cf11bd64e7b272171f72cac1572e26224daf4ca.tar.gz redmine-2cf11bd64e7b272171f72cac1572e26224daf4ca.zip |
Fixed Mantis importer: projects trackers and modules assignment
Fixed Trac and Mantis importers: roles assignments
git-svn-id: http://redmine.rubyforge.org/svn/trunk@936 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/search_controller_test.rb')
-rw-r--r-- | test/functional/search_controller_test.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/functional/search_controller_test.rb b/test/functional/search_controller_test.rb index 4ed7931f6..5e3673a4e 100644 --- a/test/functional/search_controller_test.rb +++ b/test/functional/search_controller_test.rb @@ -46,4 +46,9 @@ class SearchControllerTest < Test::Unit::TestCase assert_response :success assert_template 'index' end + + def test_tokens_with_quotes + get :index, :id => 1, :q => '"good bye" hello "bye bye"' + assert_equal ["good bye", "hello", "bye bye"], assigns(:tokens) + end end |