kevin-j-m / clockwork-test

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

Register callback in Clockwork::Test.manager #33

Closed rahul342 closed 5 years ago

rahul342 commented 5 years ago

Currently callbacks are not triggered when calling Clockwork::Test.run because @callbacks is empty on Clockwork::Test.manager. Making sure test's manager also has the same callbacks registered.

rahul342 commented 5 years ago

cc @kevin-j-m

rahul342 commented 5 years ago

@kevin-j-m Comments addressed. See latest commit. Thanks for creating the gem!

rahul342 commented 5 years ago

Ah messed up squashing and force-pushed. Let me reopen another PR.