spec/models/concerns/publishable_spec.rb in reactor-0.19.0 vs spec/models/concerns/publishable_spec.rb in reactor-1.0.0
- old
+ new
@@ -79,10 +79,9 @@
context 'conditional firing at publish time' do
before do
Sidekiq::Testing.fake!
Sidekiq::Worker.clear_all
- # TestSubscriber.create! event_name: :conditional_event_on_publish
publisher
job = Reactor::Event.jobs.detect do |job|
job['class'] == 'Reactor::Event' && job['args'].first == 'conditional_event_on_publish'
end
@job_args = job['args']