TenjinInc / procrastinator

Delayed task queues made simple.
https://rubygems.org/gems/procrastinator
MIT License
4 stars 0 forks source link

Allow nil for task on queue definition #29

Closed robinetmiller closed 2 years ago

robinetmiller commented 5 years ago

When core testing, it doesn't matter what the task actually does. Therefore it would be worthwhile to allow a nil, when test mode is enabled

robinetmiller commented 5 years ago

Or, alternatively, provide a no-op task that can be referenced

robinetmiller commented 2 years ago

Generic MockTask and MockDataTask provided with 1.0.0