Fixed failure introduced in r7772 (#8615).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7774 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2011-11-11 12:43:05 +00:00
parent 5b37920cce
commit a9fb345f96
1 changed files with 1 additions and 1 deletions

View File

@ -1509,7 +1509,7 @@ class IssuesControllerTest < ActionController::TestCase
:attributes => {:name => "issue[custom_field_values][#{field.id}]"},
:children => {
:only => {:tag => 'option'},
:count => Project.find(1).versions.count + 1
:count => Project.find(1).shared_versions.count + 1
}
end