Commit 2fab2de5 authored by Eric Davis's avatar Eric Davis

Workaround a test timing bug in CI for the release

parent 0d813146
...@@ -85,6 +85,7 @@ class JournalTest < ActiveSupport::TestCase ...@@ -85,6 +85,7 @@ class JournalTest < ActiveSupport::TestCase
@project = Project.generate! @project = Project.generate!
@issue = Issue.generate_for_project!(@project).reload @issue = Issue.generate_for_project!(@project).reload
start = @issue.updated_on start = @issue.updated_on
sleep(1) # TODO: massive hack to make sure the timestamps are different. switch to timecop later
assert_difference("Journal.count") do assert_difference("Journal.count") do
@issue.init_journal(@user, "A note") @issue.init_journal(@user, "A note")
......
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