Don't pass conditions to #delete_all.

git-svn-id: http://svn.redmine.org/redmine/trunk@15675 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2016-07-16 10:30:45 +00:00
parent d3d62f4ded
commit 57afa5345e
14 changed files with 22 additions and 22 deletions

View File

@@ -160,7 +160,7 @@ class AdminControllerTest < Redmine::ControllerTest
private
def delete_configuration_data
Role.delete_all('builtin = 0')
Role.where('builtin = 0').delete_all
Tracker.delete_all
IssueStatus.delete_all
Enumeration.delete_all