Fix failing test due to invalid HTML and missing initial journal

This commit is contained in:
Eric Davis 2011-07-22 11:52:55 -07:00
parent c0d26da34e
commit 2d98a486d6
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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