summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-24 05:44:18 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-24 05:44:18 +0000
commitb30e155d07f11c9420026d163cc9c479887be408 (patch)
treedd5939408c53186512de5a8060234c4da1e486db /test
parentfc8b4aa65c7548a203b5e1c847b229d3a12d7fb0 (diff)
downloadredmine-b30e155d07f11c9420026d163cc9c479887be408.tar.gz
redmine-b30e155d07f11c9420026d163cc9c479887be408.zip
cleanup: rubocop: fix Layout/IndentFirstArrayElement in test/functional/settings_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19239 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/functional/settings_controller_test.rb12
1 files changed, 8 insertions, 4 deletions
diff --git a/test/functional/settings_controller_test.rb b/test/functional/settings_controller_test.rb
index faf5f2aae..56eedc283 100644
--- a/test/functional/settings_controller_test.rb
+++ b/test/functional/settings_controller_test.rb
@@ -141,10 +141,14 @@ class SettingsControllerTest < Redmine::ControllerTest
}
}
assert_redirected_to '/settings'
- assert_equal([
- {"keywords" => "resolves", "status_id" => "3"},
- {"keywords" => "closes", "status_id" => "5", "done_ratio" => "100", "if_tracker_id" => "2"}
- ], Setting.commit_update_keywords)
+ assert_equal(
+ [
+ {"keywords" => "resolves", "status_id" => "3"},
+ {"keywords" => "closes", "status_id" => "5",
+ "done_ratio" => "100", "if_tracker_id" => "2"}
+ ],
+ Setting.commit_update_keywords
+ )
end
def test_post_edit_with_invalid_setting_should_not_error