diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-04-12 12:34:38 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-04-12 12:34:38 +0000 |
commit | 94a9e2848f09abcefe73020f3d6fdfec266c0dc2 (patch) | |
tree | d4843a765749b9f5831ed649dfcb5fe78a6052b9 | |
parent | 9cb9f67055ebd97ab348af6b5c2c1df828bc1f74 (diff) | |
download | redmine-94a9e2848f09abcefe73020f3d6fdfec266c0dc2.tar.gz redmine-94a9e2848f09abcefe73020f3d6fdfec266c0dc2.zip |
Fixed test failures (#19544).
git-svn-id: http://svn.redmine.org/redmine/trunk@14166 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | test/unit/helpers/sort_helper_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/helpers/sort_helper_test.rb b/test/unit/helpers/sort_helper_test.rb index 600abdd4a..4f4ae3d78 100644 --- a/test/unit/helpers/sort_helper_test.rb +++ b/test/unit/helpers/sort_helper_test.rb @@ -54,7 +54,7 @@ class SortHelperTest < ActionView::TestCase sort_init 'attr1', 'desc' sort_update({'attr1' => 'table1.attr1', 'attr2' => 'table2.attr2'}) - assert_equal ['table1.attr1', 'table2.attr2 DESC'], sort_clause + assert_equal ['table1.attr1 ASC', 'table2.attr2 DESC'], sort_clause assert_equal 'attr1,attr2:desc', @session['foo_bar_sort'] end @@ -74,7 +74,7 @@ class SortHelperTest < ActionView::TestCase sort_init 'attr1', 'desc' sort_update({'attr1' => 'table1.attr1', 'attr2' => 'table2.attr2'}) - assert_equal ['table1.attr1', 'table2.attr2'], sort_clause + assert_equal ['table1.attr1 ASC', 'table2.attr2 ASC'], sort_clause assert_equal 'attr1,attr2', @session['foo_bar_sort'] end |