Redmine/test/unit/helpers
Jean-Philippe Lang a8083fb9a8 Pass the order option as an array to satisfy sqlserver adapter (#12713).
Unlike other adapters, the sqlserver adapter processes the order option and wipes it when using functions.
Here we can see a "ASC" inserted in the COALESCE call:

irb(main):001:0> Issue.order("coalesce(estimated_hours, 0), id").to_sql
=> "SELECT [issues].* FROM [issues] ORDER BY coalesce(estimated_hours ASC, 0) ASC, id ASC"

This does not happen when passing the order SQL fragments separately.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11115 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-04 10:04:25 +00:00
..
activities_helper_test.rb Group events in the activity view (#12542). 2012-12-08 08:24:01 +00:00
application_helper_test.rb Changed revision regexp to make source: links accept a branch. 2012-12-21 20:59:35 +00:00
custom_fields_helper_test.rb Copyright update. 2012-05-05 12:56:53 +00:00
issues_helper_test.rb partial backout r10263 2012-10-22 02:03:23 +00:00
projects_helper_test.rb Do not propose non-assignable version (#11506). 2012-07-27 19:41:36 +00:00
queries_helper_test.rb Adds STI to Query model. Issue queries are now IssueQuery instances. 2012-12-09 14:10:49 +00:00
search_helper_test.rb Copyright update. 2012-05-05 12:56:53 +00:00
sort_helper_test.rb Pass the order option as an array to satisfy sqlserver adapter (#12713). 2013-01-04 10:04:25 +00:00
timelog_helper_test.rb Copyright update. 2012-05-05 12:56:53 +00:00