Fixes duplicate custom_values fixture that caused failure with Postgresql.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4488 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2010-12-11 10:47:00 +00:00
parent f2b42237d0
commit 67f1131a20
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ custom_values_008:
custom_values_009: custom_values_009:
customized_type: Issue customized_type: Issue
custom_field_id: 2 custom_field_id: 2
customized_id: 3 customized_id: 7
id: 9 id: 9
value: "this is a stringforcustomfield search" value: "this is a stringforcustomfield search"
custom_values_010: custom_values_010:

View File

@ -83,7 +83,7 @@ class SearchControllerTest < ActionController::TestCase
results = assigns(:results) results = assigns(:results)
assert_not_nil results assert_not_nil results
assert_equal 1, results.size assert_equal 1, results.size
assert results.include?(Issue.find(3)) assert results.include?(Issue.find(7))
end end
def test_search_all_words def test_search_all_words