Rails4 compatibility of ProjectTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12466 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
25a0bde311
commit
9c8e00057e
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue