process_in_background is never called in test environment
jacek213 opened this issue · 2 comments
jacek213 commented
process_in_background :photo
Works in all environements except test, where sidekiq is cofigured to run the job inline, however the job is never scheduled. delayed_paperclip 2.9.1
using with sidekiq
set to inline mode.
benbonnet commented
kind of same here, works smoothly in dev, nothing to do in production
danschultzer commented
In rspec, with use_transactional_fixtures = false
, you can use subject.run_callbacks(:commit)
to trigger the callbacks.