kevin-j-m / clockwork-test

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

Clockwork::DatabaseEvents #17

Open darena-mdsol opened 7 years ago

darena-mdsol commented 7 years ago

I'm using database backed events in a clockwork implementation, and I'm trying use this gem with rspec. However, nothing happens. It seems that the event getting fetched from the database, and not using the correct every that this gem has overridden. It seems like the current version of ClockworkTest is not compatible with database backed events. If I'm wrong, is there a different setup for this gem that is not documented when using database backed events.

kevin-j-m commented 7 years ago

Hi @darena-mdsol, thanks for your report. We have another report in #11 where a user was having trouble with database events.

The short version is that I've never used Database Events in clockwork, so I can't say definitively that this gem supports them. However, given that this is now 2 reports of that being an issue - it certainly sounds like it does not.

I'm happy to assist with any PRs to get this functionality into the gem.