diff options
Diffstat (limited to 'test/unit/project_test.rb')
-rw-r--r-- | test/unit/project_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/project_test.rb b/test/unit/project_test.rb index 85dbb317d..db1fa2f8b 100644 --- a/test/unit/project_test.rb +++ b/test/unit/project_test.rb @@ -224,7 +224,7 @@ class ProjectTest < ActiveSupport::TestCase assert_nothing_raised do Project.find(1).destroy end - assert Issue.find_all_by_id(issues.map(&:id)).empty? + assert_equal 0, Issue.where(:id => issues.map(&:id)).count end def test_destroying_root_projects_should_clear_data |