spec/chanko/exception_handler_spec.rb in chanko-2.0.6 vs spec/chanko/exception_handler_spec.rb in chanko-2.0.7

- old
+ new

@@ -18,10 +18,10 @@ before do Config.propagated_errors << Exception end it "raises up error without any logging" do - Logger.should_not_receive(:debug) + expect(Logger).not_to receive(:debug) expect { described_class.handle(error, insensitive_unit) }.to raise_error end end context "when Config.propagated_errors does not include given error" do