Sha256: c0867476747eaefb247d8006ddb8bbd3ac7b6c4daf28e5274bf56136de099f10
Contents?: true
Size: 285 Bytes
Versions: 1
Compression:
Stored size: 285 Bytes
Contents
# frozen_string_literal: true require 'progress/elapsed_time' describe Progress::ElapsedTime do let(:timeout){ 0.01 } describe '.now' do it 'returns incrementing value' do expect{ sleep timeout }.to change{ described_class.now }.by_at_least(timeout) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
progress-3.6.0 | spec/progress/elapsed_time_spec.rb |