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:
Toshi MARUYAMA 2014-01-09 04:30:17 +00:00
parent ab46ef7c15
commit 7960f543a4
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ class ProjectTest < ActiveSupport::TestCase
# 2 active members # 2 active members
assert_equal 2, @ecookbook.members.size assert_equal 2, @ecookbook.members.size
# and 1 is locked # 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 # some boards
assert @ecookbook.boards.any? assert @ecookbook.boards.any?