diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2013-12-26 10:45:13 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2013-12-26 10:45:13 +0000 |
commit | 9c8e00057e9d5b7c4671951a165a3d3e1cd71f09 (patch) | |
tree | fe34ccc9816c77645d3ca6bed28745ed9ad12515 /test/unit/project_test.rb | |
parent | 25a0bde31115e78ffa1234d52e9726fd69b8739c (diff) | |
download | redmine-9c8e00057e9d5b7c4671951a165a3d3e1cd71f09.tar.gz redmine-9c8e00057e9d5b7c4671951a165a3d3e1cd71f09.zip |
Rails4 compatibility of ProjectTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12466 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/project_test.rb')
-rw-r--r-- | test/unit/project_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/project_test.rb b/test/unit/project_test.rb index 945f775e8..69b2a07e3 100644 --- a/test/unit/project_test.rb +++ b/test/unit/project_test.rb @@ -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 |