Closed rahul342 closed 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.
Clockwork::Test.run
@callbacks
Clockwork::Test.manager
cc @kevin-j-m
@kevin-j-m Comments addressed. See latest commit. Thanks for creating the gem!
Ah messed up squashing and force-pushed. Let me reopen another PR.
Currently callbacks are not triggered when calling
Clockwork::Test.run
because@callbacks
is empty onClockwork::Test.manager
. Making sure test's manager also has the same callbacks registered.