summaryrefslogtreecommitdiffstats
path: root/test/helpers/issues_helper_test.rb
diff options
context:
space:
mode:
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