Skip to content

Time Mocking Support

bjmfactory edited this page Nov 18, 2014 · 2 revisions

When mocking time, the concept of when now is becomes distorted. You can imagine that because ruby-progressbar tracks elapsed and estimated times, if it used the mocked version of now the results would be very undesirable. But, if you use one of our supported Ruby time mocking libraries, your elapsed and estimated times will always appear correctly. Currently supported are:

Clone this wiki locally