Closed brain-geek closed 6 years ago
Actually, running endlessly is the case I was fixing when working with the gem. It's very annoying to have tests run endlessly and you don't know why.
And if you need to emulate the 'endless' behavior - just simply do 1000.years.ago
.
@kevin-j-m Feel free to review once again. 😄
Would you like to keep them separated or squash them together as one commit/feature?
Let's leave history as is - those commit serve different purposes, and it will be a lot easier access such detailed history.
The primary user-facing change is that end_time is automatically set to current time when start time is set.
This means that examples could be more elegant, e.g.:
can be rewritten to
And it should work/test the same thing with same result.
Though I've not yet added this way of writing code to README. What do you think, @kevin-j-m ?