spec/lib/dispatch-rider_spec.rb in dispatch-rider-1.5.3 vs spec/lib/dispatch-rider_spec.rb in dispatch-rider-1.6.0

- old
+ new

@@ -2,26 +2,26 @@ describe DispatchRider do describe ".configuration" do example do - described_class.configuration.should be_a(DispatchRider::Configuration) + expect(described_class.configuration).to be_a(DispatchRider::Configuration) end end describe ".config" do example do - described_class.config.should be_a(DispatchRider::Configuration) + expect(described_class.config).to be_a(DispatchRider::Configuration) end end describe ".configure" do example do described_class.configure do |config| config.queue_kind = :test_queue end - described_class.config.queue_kind.should == :test_queue + expect(described_class.config.queue_kind).to eq(:test_queue) end end end