remove unneeded Relation#all from ProjectTest#test_destroy
git-svn-id: http://svn.redmine.org/redmine/trunk@12556 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
ab46ef7c15
commit
7960f543a4
|
@ -202,7 +202,7 @@ class ProjectTest < ActiveSupport::TestCase
|
|||
# 2 active members
|
||||
assert_equal 2, @ecookbook.members.size
|
||||
# and 1 is locked
|
||||
assert_equal 3, Member.where('project_id = ?', @ecookbook.id).all.size
|
||||
assert_equal 3, Member.where(:project_id => @ecookbook.id).count
|
||||
# some boards
|
||||
assert @ecookbook.boards.any?
|
||||
|
||||
|
|
Loading…
Reference in New Issue