fix transient timing failure adding timecop
This commit is contained in:
parent
278baa5b61
commit
5ac78a2369
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue