summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-10-26 13:35:50 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-10-26 13:35:50 +0000
commit2ccc46c9558896725f66192d10112ae0d1b5b269 (patch)
treef48e88b49b000d0e06e70917e694faf165937465 /test
parentb22dad45a8572e505a8b824831fa3d9c4321429f (diff)
downloadredmine-2ccc46c9558896725f66192d10112ae0d1b5b269.tar.gz
redmine-2ccc46c9558896725f66192d10112ae0d1b5b269.zip
fix source indent of test/unit/query_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20201 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/unit/query_test.rb11
1 files changed, 5 insertions, 6 deletions
diff --git a/test/unit/query_test.rb b/test/unit/query_test.rb
index 7c72cf268..a2803d2cd 100644
--- a/test/unit/query_test.rb
+++ b/test/unit/query_test.rb
@@ -71,9 +71,9 @@ class QueryTest < ActiveSupport::TestCase
def test_available_filters_with_custom_fields_should_be_ordered
set_language_if_valid 'en'
UserCustomField.create!(
- :name => 'order test', :field_format => 'string',
- :is_for_all => true, :is_filter => true
- )
+ :name => 'order test', :field_format => 'string',
+ :is_for_all => true, :is_filter => true
+ )
query = IssueQuery.new
expected_order = [
"Searchable field",
@@ -142,9 +142,8 @@ class QueryTest < ActiveSupport::TestCase
end
def find_issues_with_query(query)
- Issue.joins(:status, :tracker, :project, :priority).where(
- query.statement
- ).to_a
+ Issue.joins(:status, :tracker, :project, :priority).
+ where(query.statement).to_a
end
def assert_find_issues_with_query_is_successful(query)