From a9fb345f96cc97c98ce257907d5106989e69a837 2011-11-11 12:43:05 From: Jean-Philippe Lang Date: 2011-11-11 12:43:05 Subject: [PATCH] Fixed failure introduced in r7772 (#8615). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7774 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb index 88bd77d..e0b71f6 100644 --- a/test/functional/issues_controller_test.rb +++ b/test/functional/issues_controller_test.rb @@ -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