jrgifford/delayed_paperclip

process_in_background is never called in test environment

jacek213 opened this issue · 2 comments

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.

kind of same here, works smoothly in dev, nothing to do in production

In rspec, with use_transactional_fixtures = false, you can use subject.run_callbacks(:commit) to trigger the callbacks.