Commit 5ac78a23 authored by James Lopez's avatar James Lopez

fix transient timing failure adding timecop

parent 278baa5b
......@@ -13,6 +13,14 @@
subject { entity.as_json }
before do
Timecop.freeze
end
after do
Timecop.return
end
it 'contains the URL' do
expect(subject).to include(:url)
end
......
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