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

fix transient timing failure adding timecop

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