spec/models/concerns/subscribable_spec.rb in reactor-0.9.8 vs spec/models/concerns/subscribable_spec.rb in reactor-0.9.9
- old
+ new
@@ -16,16 +16,16 @@
on_event :cat_delivered, in_memory: true do |event|
puppies!
end
def self.ring_bell(event)
- pp "ring ring! #{event}"
+ "ring ring! #{event}"
end
end
Reactor.in_test_mode do
class TestModeAuction < ActiveRecord::Base
- on_event :test_puppy_delivered, -> (event) { pp "success" }
+ on_event :test_puppy_delivered, -> (event) { "success" }
end
end
describe Reactor::Subscribable do
let(:scheduled) { Sidekiq::ScheduledSet.new }