spec/lib/dispatch-rider/callbacks/storage_spec.rb in dispatch-rider-1.9.0 vs spec/lib/dispatch-rider/callbacks/storage_spec.rb in dispatch-rider-2.0.0

- old
+ new

@@ -13,26 +13,26 @@ log << :abefore job.call log << :aafter end subject.for(:initialize).first[actual] - expect(log).to eq [:abefore, :actual, :aafter] + expect(log).to eq %i[abefore actual aafter] end end describe "#before" do example do subject.before(:initialize) { log << :before } subject.for(:initialize).first[actual] - expect(log).to eq [:before, :actual] + expect(log).to eq %i[before actual] end end describe "#after" do example do subject.after(:initialize) { log << :after } subject.for(:initialize).first[actual] - expect(log).to eq [:actual, :after] + expect(log).to eq %i[actual after] end end end end