From a9fb345f96cc97c98ce257907d5106989e69a837 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Fri, 11 Nov 2011 12:43:05 +0000 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 --- test/functional/issues_controller_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb index 88bd77d44..e0b71f6af 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