Redmine/test/unit
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
..
helpers Pass the order option as an array to satisfy sqlserver adapter (#12713). 2013-01-04 10:04:25 +00:00
initializers Copyright update. 2012-05-05 12:56:53 +00:00
lib Split #per_page_links helper and moved test to specific test case. 2012-12-17 20:17:52 +00:00
activity_test.rb Group events in the activity view (#12542). 2012-12-08 08:24:01 +00:00
attachment_test.rb NoMethodError: private method `now' called for DateTime:Class error in tests with ruby < 1.9.3 (#5298). 2012-12-13 13:18:41 +00:00
auth_source_ldap_test.rb Auto-populate fields while creating a new user with LDAP (#10286). 2012-12-26 11:23:53 +00:00
board_test.rb use set_language_if_valid 'en' at test_parent_should_be_in_same_project at unit board test 2012-09-26 10:54:47 +00:00
changeset_test.rb remove empty setup method from test/unit/changeset_test.rb 2012-09-26 11:17:53 +00:00
comment_test.rb Fixed some more test/unit/*_test.rb breaking when run alone (#12285) 2012-11-01 22:47:25 +00:00
custom_field_test.rb Fixed that validation fails when receiving an email with list custom fields (#12400). 2012-12-13 13:14:46 +00:00
custom_field_user_format_test.rb Copyright update. 2012-05-05 12:56:53 +00:00
custom_field_version_format_test.rb Copyright update. 2012-05-05 12:56:53 +00:00
custom_value_test.rb Extracts custom field values validation from CustomValue so that they can be validated globally from the customized object (#1189). 2012-01-28 11:16:58 +00:00
default_data_test.rb Copyright update. 2012-05-05 12:56:53 +00:00
document_category_test.rb Replaces find(:first) calls. 2012-12-03 18:21:32 +00:00
document_test.rb add missing fixtures to test/unit/document_test.rb 2012-08-21 02:15:04 +00:00
enabled_module_test.rb Copyright update. 2012-05-05 12:56:53 +00:00
enumeration_test.rb Replaces find(:first) calls. 2012-12-03 18:21:32 +00:00
group_test.rb Test failure due to a regression in Rails 3.2.5. 2012-06-03 12:15:55 +00:00
issue_category_test.rb Fixed test/unit/issue_category_test.rb breaking when run alone (#12285) 2012-11-01 10:29:55 +00:00
issue_nested_set_test.rb Replaces find(:all) calls. 2012-12-02 20:23:48 +00:00
issue_priority_test.rb Adds a textual css class for issue priorities (#12216). 2012-10-26 01:25:23 +00:00
issue_relation_test.rb code layout cleanup test/unit/issue_relation_test.rb 2012-10-09 11:02:56 +00:00
issue_status_test.rb Adds a sorted scope to IssueStatus model. 2012-07-15 15:33:17 +00:00
issue_test.rb Replaces find(:first/:all) calls. 2012-12-03 21:30:10 +00:00
issue_transaction_test.rb Removed issue_create! helper in favour of Issue.generate! 2012-10-12 09:02:25 +00:00
journal_observer_test.rb Replaces find(:first) calls. 2012-12-03 18:21:32 +00:00
journal_test.rb Replaces find(:first) calls. 2012-12-03 18:21:32 +00:00
mail_handler_test.rb Fixed that validation fails when receiving an email with list custom fields (#12400). 2012-12-13 13:14:46 +00:00
mailer_test.rb Replaces find(:first) calls. 2012-12-03 18:21:32 +00:00
member_test.rb Copyright update. 2012-05-05 12:56:53 +00:00
message_test.rb Fixed some more test/unit/*_test.rb breaking when run alone (#12285) 2012-11-01 22:47:25 +00:00
news_test.rb Replaces find(:first) calls. 2012-12-03 18:21:32 +00:00
principal_test.rb Fixed that Principal#like scope does not work with cyrillic characters and Postgresql (#12349). 2012-11-13 22:01:31 +00:00
project_nested_set_test.rb Adds a Project.rebuild_tree! method to force the rebuild of the nested set. 2012-11-23 17:50:46 +00:00
project_test.rb Replaces find(:first) calls. 2012-12-03 18:21:32 +00:00
query_test.rb Make sure we don't cast an empty string to numeric (#12713). 2013-01-03 13:33:16 +00:00
repository_bazaar_test.rb Replaces find(:all) calls. 2012-12-02 20:23:48 +00:00
repository_cvs_test.rb Replaces find(:first) calls. 2012-12-03 18:21:32 +00:00
repository_darcs_test.rb Replaces find(:all) calls. 2012-12-02 20:23:48 +00:00
repository_filesystem_test.rb Fixed that Repository#entries returns an Array. 2012-06-10 17:01:33 +00:00
repository_git_test.rb scm: git: change extra_report_last_commit type at unit test to string (#12409) 2012-11-21 23:34:27 +00:00
repository_mercurial_test.rb Replaces find(:all) calls. 2012-12-02 20:23:48 +00:00
repository_subversion_test.rb Replaces find(:all) calls. 2012-12-02 20:23:48 +00:00
repository_test.rb Replaces find(:first) calls. 2012-12-03 18:21:32 +00:00
role_test.rb Fixed some more test/unit/*_test.rb breaking when run alone (#12285) 2012-11-01 22:47:25 +00:00
search_test.rb Copyright update. 2012-05-05 12:56:53 +00:00
setting_test.rb Tests should not change settings. 2012-07-08 12:23:47 +00:00
time_entry_activity_test.rb Fixed some more test/unit/*_test.rb breaking when run alone (#12285) 2012-11-01 22:47:25 +00:00
time_entry_test.rb Copyright update. 2012-05-05 12:56:53 +00:00
token_test.rb Copyright update. 2012-05-05 12:56:53 +00:00
tracker_test.rb Fixed that settings raises an error if not trackers exist (#11467). 2012-07-21 15:43:44 +00:00
user_preference_test.rb Potential can't dup NilClass error in UserPreference (#11905). 2012-09-22 06:16:53 +00:00
user_test.rb Use 8+ characters long passwords in tests. 2012-11-27 21:52:38 +00:00
version_test.rb Deprecates Version#*_pourcent in favour of #*_percent (#12724). 2013-01-04 08:30:25 +00:00
watcher_test.rb Fixed test/unit/watcher_test.rb breaking when run alone (#12285) 2012-11-01 10:22:37 +00:00
wiki_content_test.rb Handle deleted wiki page versions (#10852). 2012-10-21 04:43:15 +00:00
wiki_content_version_test.rb Fixed test case class name (#10852). 2012-10-23 21:24:38 +00:00
wiki_page_test.rb REST API for retrieving wiki pages (#7082). 2012-10-25 19:44:04 +00:00
wiki_redirect_test.rb Replaces find(:first) calls. 2012-12-03 18:21:32 +00:00
wiki_test.rb Copyright update. 2012-05-05 12:56:53 +00:00
workflow_test.rb Workflow enhancement: editable and required fields configurable by role, tracker and status (#703, #3521). 2012-07-15 14:12:17 +00:00