diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb index 33d216cb9..f70c5a3c0 100644 --- a/test/functional/issues_controller_test.rb +++ b/test/functional/issues_controller_test.rb @@ -2272,7 +2272,7 @@ class IssuesControllerTest < ActionController::TestCase :subject => 'This is an issue', :status_id => 1} end - issue = Issue.last(:order => 'id') + issue = Issue.order('id').last assert_equal IssueStatus.default, issue.status end