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)
|
if d = journal.render_detail(detail)
|
||||||
content_tag("li", d)
|
content_tag("li", d)
|
||||||
end
|
end
|
||||||
end.compact
|
end.compact.join(' ')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -61,6 +61,7 @@ class IssuesTest < ActionController::IntegrationTest
|
|||||||
|
|
||||||
# add then remove 2 attachments to an issue
|
# add then remove 2 attachments to an issue
|
||||||
def test_issue_attachments
|
def test_issue_attachments
|
||||||
|
Issue.find(1).recreate_initial_journal!
|
||||||
log_user('jsmith', 'jsmith')
|
log_user('jsmith', 'jsmith')
|
||||||
set_tmp_attachments_directory
|
set_tmp_attachments_directory
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user