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:
parent
f2b42237d0
commit
67f1131a20
|
@ -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:
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue