Commit f385835b authored by Stan Hu's avatar Stan Hu

Fix Timecop not unfreezing after spec

Closes #2362 for real
parent a6d35c27
...@@ -10,6 +10,10 @@ describe RepositoryUpdateRemoteMirrorWorker do ...@@ -10,6 +10,10 @@ describe RepositoryUpdateRemoteMirrorWorker do
Timecop.freeze(Time.now) Timecop.freeze(Time.now)
end end
after do
Timecop.return
end
describe '#perform' do describe '#perform' do
context 'with status none' do context 'with status none' do
before 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