Commit 40dac302 authored by Stan Hu's avatar Stan Hu

Merge branch 'sh-fix-timecop-not-resetting' into 'master'

Fix Timecop not unfreezing after spec

Closes #2362

See merge request !1847
parents a6d35c27 f385835b
......@@ -10,6 +10,10 @@ describe RepositoryUpdateRemoteMirrorWorker do
Timecop.freeze(Time.now)
end
after do
Timecop.return
end
describe '#perform' do
context 'with status none' do
before do
......
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