brandonhilkert / sucker_punch

Sucker Punch is a Ruby asynchronous processing library using concurrent-ruby, heavily influenced by Sidekiq and girl_friday.
MIT License
2.65k stars 114 forks source link

Testing inline not working? #193

Closed solars closed 7 years ago

solars commented 7 years ago

Hi there,

I'm executing a background job in rails like this: BudgetUpdateJob.perform_later([property]) I now noticed that although I use require 'sucker_punch/testing/inline' in my spec_helper.rb, it doesn't seem to work.

If I replace the call with the actual call instead of a worker, it's working. sucker_punch version is 2.0.2, rails 4.2.4

What do I need to change?

solars commented 7 years ago

Nevermind I think this was my fault.