summaryrefslogtreecommitdiffstats
path: root/test/functional/issues_controller_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-11-11 12:43:05 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-11-11 12:43:05 +0000
commita9fb345f96cc97c98ce257907d5106989e69a837 (patch)
tree56c21e24aa92119b207946ccf48ff8ce39e715b4 /test/functional/issues_controller_test.rb
parent5b37920cce48453d362eaf8f9b941aa253486c1a (diff)
downloadredmine-a9fb345f96cc97c98ce257907d5106989e69a837.tar.gz
redmine-a9fb345f96cc97c98ce257907d5106989e69a837.zip
Fixed failure introduced in r7772 (#8615).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7774 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/issues_controller_test.rb')
-rw-r--r--test/functional/issues_controller_test.rb2
1 files changed, 1 insertions, 1 deletions
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