Fix failing test due to invalid HTML and missing initial journal
This commit is contained in:
parent
c0d26da34e
commit
2d98a486d6
|
@ -48,7 +48,7 @@ module JournalsHelper
|
|||
if d = journal.render_detail(detail)
|
||||
content_tag("li", d)
|
||||
end
|
||||
end.compact
|
||||
end.compact.join(' ')
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue