BigW Consortium Gitlab

Commit 5ac78a23 by James Lopez

fix transient timing failure adding timecop

parent 278baa5b
......@@ -13,6 +13,14 @@ describe AnalyticsBuildEntity do
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