diff --git a/app/helpers/journals_helper.rb b/app/helpers/journals_helper.rb index 5a9f4770..e16f7a4c 100644 --- a/app/helpers/journals_helper.rb +++ b/app/helpers/journals_helper.rb @@ -48,7 +48,7 @@ module JournalsHelper if d = journal.render_detail(detail) content_tag("li", d) end - end.compact + end.compact.join(' ') end end diff --git a/test/integration/issues_test.rb b/test/integration/issues_test.rb index c152a5db..b18a2efd 100644 --- a/test/integration/issues_test.rb +++ b/test/integration/issues_test.rb @@ -61,6 +61,7 @@ class IssuesTest < ActionController::IntegrationTest # add then remove 2 attachments to an issue def test_issue_attachments + Issue.find(1).recreate_initial_journal! log_user('jsmith', 'jsmith') set_tmp_attachments_directory