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

- old
+ new

@@ -1,5 +1,7 @@ +# frozen_string_literal: true + require 'spec_helper' describe DispatchRider::Publisher::Configuration do subject { described_class.new(configuration_hash) } @@ -129,10 +131,10 @@ "options" => {} } ) end - before :each do + before do subject.parse(new_configuration_hash) end it "replaces the current notification services with the new notification service" do expect(subject.notification_services.count).to eq(1)