Fix failing test due to invalid HTML and missing initial journal

pull/351/head
Eric Davis 13 years ago
parent c0d26da34e
commit 2d98a486d6
  1. 2
      app/helpers/journals_helper.rb
  2. 1
      test/integration/issues_test.rb

@ -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…
Cancel
Save