remove unneeded Relation#all from ProjectTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12713 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
e746e5dd83
commit
e63029cee4
|
@ -584,7 +584,7 @@ class ProjectTest < ActiveSupport::TestCase
|
||||||
assert_equal [1,2,3], parent.version_ids.sort
|
assert_equal [1,2,3], parent.version_ids.sort
|
||||||
assert_equal [4], child.version_ids
|
assert_equal [4], child.version_ids
|
||||||
assert_equal [6], private_child.version_ids
|
assert_equal [6], private_child.version_ids
|
||||||
assert_equal [7], Version.where(:sharing => 'system').all.collect(&:id)
|
assert_equal [7], Version.where(:sharing => 'system').collect(&:id)
|
||||||
|
|
||||||
assert_equal 6, parent.shared_versions.size
|
assert_equal 6, parent.shared_versions.size
|
||||||
parent.shared_versions.each do |version|
|
parent.shared_versions.each do |version|
|
||||||
|
|
Loading…
Reference in New Issue