Workaround a test timing bug in CI for the release
This commit is contained in:
parent
0d81314664
commit
2fab2de517
|
@ -85,6 +85,7 @@ class JournalTest < ActiveSupport::TestCase
|
|||
@project = Project.generate!
|
||||
@issue = Issue.generate_for_project!(@project).reload
|
||||
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
|
||||
@issue.init_journal(@user, "A note")
|
||||
|
|
Loading…
Reference in New Issue