Layout/IndentHeredoc:
Exclude:
- 'test/helpers/application_helper_test.rb'
- - 'test/integration/api_test/custom_fields_attribute_test.rb'
- 'test/integration/api_test/files_test.rb'
- 'test/integration/lib/redmine/hook_test.rb'
- 'test/unit/lib/redmine/syntax_highlighting/rouge_test.rb'
# SupportedStyles: normal, indented_internal_methods
Layout/IndentationConsistency:
Exclude:
- - 'test/integration/api_test/custom_fields_attribute_test.rb'
- 'test/mocks/open_id_authentication_mock.rb'
# Cop supports --auto-correct.
:possible_values => ["V1", "V2", "V3"],
:default_value => "V2"
)
-
-payload = <<-JSON
-{"group": {"name":"Foooo",
-"custom_field_values":{"#{field.id}":["V1","V3"]}
-}
-}
-JSON
-
+ payload = <<~JSON
+ {"group": {"name":"Foooo",
+ "custom_field_values":{"#{field.id}":["V1","V3"]}
+ }
+ }
+ JSON
post '/groups.json',
:params => payload,
:headers => {