diff options
Diffstat (limited to 'test/unit/query_test.rb')
-rw-r--r-- | test/unit/query_test.rb | 4 |
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'] |