spec/lib/dispatch-rider/runner_spec.rb in dispatch-rider-2.1.0 vs spec/lib/dispatch-rider/runner_spec.rb in dispatch-rider-2.2.0

- old
+ new

@@ -1,12 +1,14 @@ +# frozen_string_literal: true + require 'spec_helper' describe DispatchRider::Runner do describe ".run" do let(:subscriber) { double(:subscriber) } - before :each do + before do DispatchRider.configure do |config| config.subscriber = subscriber end end