kevin-j-m / clockwork-test

A mechanism for testing clockwork jobs
MIT License
43 stars 16 forks source link

Add custom matcher to see if job has run #6

Closed kevin-j-m closed 9 years ago

kevin-j-m commented 9 years ago

This commit provides an rspec matcher that can be used to see if a job has run or not a specific number of times.

kevin-j-m commented 9 years ago

This is inspired by the idea @abgoldstein introduced in #4.

kevin-j-m commented 9 years ago

@abgoldstein, I'd appreciate your feedback on this. I think this can replace #4, but has the same spirit. Let me know what you think!

abgoldstein commented 9 years ago

Left a couple of comments but I definitely would agree that this can shut down #4 .

kevin-j-m commented 8 years ago

These actions have been DRY'd up in #8