Commit 445391f8 authored by Tim Felgentreff's avatar Tim Felgentreff

fix journal observer test

parent 65097e7d
......@@ -23,6 +23,10 @@ class JournalObserverTest < ActiveSupport::TestCase
def setup
ActionMailer::Base.deliveries.clear
@journal = Journal.find 1
if (i = Issue.find(:first)).journals.empty?
i.init_journal(User.current, 'Creation') # Make sure the initial journal is created
i.save
end
end
# context: issue_updated notified_events
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment