summaryrefslogtreecommitdiffstats
path: root/test/helpers/issues_helper_test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-24 05:44:40 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-24 05:44:40 +0000
commitb4fc7d45a6b97178a23278b7ca3539f4c3e4c5ff (patch)
tree621b55edf68585f45c8f37c27b726e0f297b046d /test/helpers/issues_helper_test.rb
parent5b0ada0f32ef23e757df3a266967d0367663f3f9 (diff)
downloadredmine-b4fc7d45a6b97178a23278b7ca3539f4c3e4c5ff.tar.gz
redmine-b4fc7d45a6b97178a23278b7ca3539f4c3e4c5ff.zip
cleanup: rubocop: fix Layout/IndentFirstArrayElement in test/helpers/issues_helper_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19241 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/helpers/issues_helper_test.rb')
-rw-r--r--test/helpers/issues_helper_test.rb22
1 files changed, 14 insertions, 8 deletions
diff --git a/test/helpers/issues_helper_test.rb b/test/helpers/issues_helper_test.rb
index afa33a631..45e32dbec 100644
--- a/test/helpers/issues_helper_test.rb
+++ b/test/helpers/issues_helper_test.rb
@@ -318,14 +318,20 @@ class IssuesHelperTest < Redmine::HelperTest
details << JournalDetail.new(:property => 'cf', :prop_key => field.id.to_s, :old_value => '2', :value => nil)
details << JournalDetail.new(:property => 'cf', :prop_key => field.id.to_s, :old_value => '3', :value => nil)
- assert_equal [
- "User Redmine Admin added",
- "User deleted (Dave Lopper, John Smith)"
- ], details_to_strings(details, true)
- assert_equal [
- "<strong>User</strong> <i>Redmine Admin</i> added",
- "<strong>User</strong> deleted (<del><i>Dave Lopper, John Smith</i></del>)"
- ], details_to_strings(details, false)
+ assert_equal(
+ [
+ "User Redmine Admin added",
+ "User deleted (Dave Lopper, John Smith)"
+ ],
+ details_to_strings(details, true)
+ )
+ assert_equal(
+ [
+ "<strong>User</strong> <i>Redmine Admin</i> added",
+ "<strong>User</strong> deleted (<del><i>Dave Lopper, John Smith</i></del>)"
+ ],
+ details_to_strings(details, false)
+ )
end
def test_find_name_by_reflection_should_return_nil_for_missing_record