summaryrefslogtreecommitdiffstats
path: root/test/unit/query_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-10-20 18:26:28 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-10-20 18:26:28 +0000
commit11bce09825f4b8f72bfb5c9ae0b864574e948b3e (patch)
treea6e9e3b3e614c8cfd7f8589d8af7150f23574542 /test/unit/query_test.rb
parent84ca9ac7fdb875ee0effaedff4fa48dd38713e35 (diff)
downloadredmine-11bce09825f4b8f72bfb5c9ae0b864574e948b3e.tar.gz
redmine-11bce09825f4b8f72bfb5c9ae0b864574e948b3e.zip
Typo "coma" (#20551).
Patch by budo kaiman. git-svn-id: http://svn.redmine.org/redmine/trunk@14712 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/query_test.rb')
-rw-r--r--test/unit/query_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/query_test.rb b/test/unit/query_test.rb
index c76ad7265..30db3abd7 100644
--- a/test/unit/query_test.rb
+++ b/test/unit/query_test.rb
@@ -1050,7 +1050,7 @@ class QueryTest < ActiveSupport::TestCase
end
def test_sortable_columns_should_sort_assignees_according_to_user_format_setting
- with_settings :user_format => 'lastname_coma_firstname' do
+ with_settings :user_format => 'lastname_comma_firstname' do
q = IssueQuery.new
assert q.sortable_columns.has_key?('assigned_to')
assert_equal %w(users.lastname users.firstname users.id), q.sortable_columns['assigned_to']
@@ -1058,7 +1058,7 @@ class QueryTest < ActiveSupport::TestCase
end
def test_sortable_columns_should_sort_authors_according_to_user_format_setting
- with_settings :user_format => 'lastname_coma_firstname' do
+ with_settings :user_format => 'lastname_comma_firstname' do
q = IssueQuery.new
assert q.sortable_columns.has_key?('author')
assert_equal %w(authors.lastname authors.firstname authors.id), q.sortable_columns['author']