summaryrefslogtreecommitdiffstats
path: root/test/helpers
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-09 17:10:40 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-09 17:10:40 +0000
commit86e0d79c31e106e2f9b25b140af5e9968a31850e (patch)
treeffa2c95f341b004301777d65d58dbbbf0115b198 /test/helpers
parentec91e38010800511a7537525f4a2faf7f5d4201d (diff)
downloadredmine-86e0d79c31e106e2f9b25b140af5e9968a31850e.tar.gz
redmine-86e0d79c31e106e2f9b25b140af5e9968a31850e.zip
cleanup: rubocop: fix Layout/AlignArguments in test/helpers/custom_fields_helper_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19042 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/helpers')
-rw-r--r--test/helpers/custom_fields_helper_test.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/helpers/custom_fields_helper_test.rb b/test/helpers/custom_fields_helper_test.rb
index 73bd73654..bef33432b 100644
--- a/test/helpers/custom_fields_helper_test.rb
+++ b/test/helpers/custom_fields_helper_test.rb
@@ -76,17 +76,17 @@ class CustomFieldsHelperTest < Redmine::HelperTest
field = CustomField.new(:field_format => 'foo')
value = CustomValue.new(:value => 'bar', :custom_field => field)
field.id = 52
-
- assert_select_in custom_field_tag('object', value),
- 'input[type=text][value=bar][name=?]', 'object[custom_field_values][52]'
+ assert_select_in(
+ custom_field_tag('object', value),
+ 'input[type=text][value=bar][name=?]', 'object[custom_field_values][52]')
end
def test_unknow_field_format_should_be_bulk_edited_as_string
field = CustomField.new(:field_format => 'foo')
field.id = 52
-
- assert_select_in custom_field_tag_for_bulk_edit('object', field),
- 'input[type=text][value=""][name=?]', 'object[custom_field_values][52]'
+ assert_select_in(
+ custom_field_tag_for_bulk_edit('object', field),
+ 'input[type=text][value=""][name=?]', 'object[custom_field_values][52]')
end
def test_custom_field_tag_class_should_contain_wiki_edit_for_custom_fields_with_full_text_formatting