]> source.dussan.org Git - redmine.git/commitdiff
cleanup: rubocop: fix Layout/AlignArguments in test/helpers/custom_fields_helper_test.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 9 Nov 2019 17:10:40 +0000 (17:10 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 9 Nov 2019 17:10:40 +0000 (17:10 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@19042 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/helpers/custom_fields_helper_test.rb

index 73bd7365487f54f5e54801ed835aa9aeabd72d4f..bef33432bb6a2b20f6d842ce13a2a4250134a815 100644 (file)
@@ -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