spec/lib/ruby-progressbar/base_spec.rb in ruby-progressbar-1.4.1 vs spec/lib/ruby-progressbar/base_spec.rb in ruby-progressbar-1.4.2
- old
+ new
@@ -652,10 +652,10 @@
progressbar.to_s('%e').should match /^ ETA: \?\?:\?\?:\?\?\z/
end
end
it 'displays the estimated time remaining when using the "%e" flag' do
- progressbar.to_s('%e').should match /^ ETA: 01:02:02\z/
+ progressbar.to_s('%e').should match /^ ETA: 01:02:03\z/
end
end
context 'when it could take 100 hours or longer to finish' do
let(:progressbar) do