From 2cf11bd64e7b272171f72cac1572e26224daf4ca Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Thu, 29 Nov 2007 20:08:14 +0000 Subject: 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 --- test/functional/search_controller_test.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/functional/search_controller_test.rb') 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 -- cgit v1.2.3