diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2013-11-09 13:10:19 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2013-11-09 13:10:19 +0000 |
commit | 44012ec6c64073871d17ba7087116b047805e094 (patch) | |
tree | 47c1416ee4da227736aab4b98fcde6b264cf8113 /test/unit | |
parent | 979d3400ab2ef026f426801718056d7a77049265 (diff) | |
download | redmine-44012ec6c64073871d17ba7087116b047805e094.tar.gz redmine-44012ec6c64073871d17ba7087116b047805e094.zip |
remove trailing white-spaces from test/unit/query_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@12253 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/query_test.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/unit/query_test.rb b/test/unit/query_test.rb index f4b765577..ee4696cf2 100644 --- a/test/unit/query_test.rb +++ b/test/unit/query_test.rb @@ -115,7 +115,7 @@ class QueryTest < ActiveSupport::TestCase def assert_query_statement_includes(query, condition) assert_include condition, query.statement end - + def assert_query_result(expected, query) assert_nothing_raised do assert_equal expected.map(&:id).sort, query.issues.map(&:id).sort @@ -942,7 +942,7 @@ class QueryTest < ActiveSupport::TestCase assert_nil q.group_by_column assert_nil q.group_by_statement end - + def test_sortable_columns_should_sort_assignees_according_to_user_format_setting with_settings :user_format => 'lastname_coma_firstname' do q = IssueQuery.new @@ -950,7 +950,7 @@ class QueryTest < ActiveSupport::TestCase assert_equal %w(users.lastname users.firstname users.id), q.sortable_columns['assigned_to'] end end - + def test_sortable_columns_should_sort_authors_according_to_user_format_setting with_settings :user_format => 'lastname_coma_firstname' do q = IssueQuery.new @@ -1340,7 +1340,7 @@ class QueryTest < ActiveSupport::TestCase User.add_to_project(@manager, @project, @manager_role) User.add_to_project(@developer, @project, @developer_role) User.add_to_project(@boss, @project, [@manager_role, @developer_role]) - + @issue1 = Issue.generate!(:project => @project, :assigned_to_id => @manager.id) @issue2 = Issue.generate!(:project => @project, :assigned_to_id => @developer.id) @issue3 = Issue.generate!(:project => @project, :assigned_to_id => @boss.id) @@ -1358,7 +1358,7 @@ class QueryTest < ActiveSupport::TestCase should "search assigned to for users with the Role on the issue project" do other_project = Project.generate! User.add_to_project(@developer, other_project, @manager_role) - + @query = IssueQuery.new(:name => '_', :project => @project) @query.add_filter('assigned_to_role', '=', [@manager_role.id.to_s]) |