Rails4 compatibility of ProjectTest

git-svn-id: http://svn.redmine.org/redmine/trunk@12466 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2013-12-26 10:45:13 +00:00
parent 25a0bde311
commit 9c8e00057e
1 changed files with 2 additions and 2 deletions

View File

@ -258,8 +258,8 @@ class ProjectTest < ActiveSupport::TestCase
assert_equal 0, WikiPage.count
assert_equal 0, WikiContent.count
assert_equal 0, WikiContent::Version.count
assert_equal 0, Project.connection.select_all("SELECT * FROM projects_trackers").size
assert_equal 0, Project.connection.select_all("SELECT * FROM custom_fields_projects").size
assert_equal 0, Project.connection.select_all("SELECT * FROM projects_trackers").count
assert_equal 0, Project.connection.select_all("SELECT * FROM custom_fields_projects").count
assert_equal 0, CustomValue.where(:customized_type => ['Project', 'Issue', 'TimeEntry', 'Version']).count
end