summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2010-12-12 16:06:43 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2010-12-12 16:06:43 +0000
commit29e0bca43a6df01fe14b92ac2214eaf02b06ee62 (patch)
treedfd1e82d2e4178669129e832722f2501f36aebd1 /test
parenta8b12bcb520230b9cc25abd2d7346d746c49874d (diff)
downloadredmine-29e0bca43a6df01fe14b92ac2214eaf02b06ee62.tar.gz
redmine-29e0bca43a6df01fe14b92ac2214eaf02b06ee62.zip
Make sure there's no nil result in auto_complete.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4503 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/functional/auto_completes_controller_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/auto_completes_controller_test.rb b/test/functional/auto_completes_controller_test.rb
index 697436b6e..e5e898b15 100644
--- a/test/functional/auto_completes_controller_test.rb
+++ b/test/functional/auto_completes_controller_test.rb
@@ -29,6 +29,6 @@ class AutoCompletesControllerTest < ActionController::TestCase
Setting.cross_project_issue_relations = '0'
get :issues, :project_id => 'ecookbook', :q => '13', :scope => 'all'
assert_response :success
- assert_equal [nil], assigns(:issues)
+ assert_equal [], assigns(:issues)
end
end