spec/mandrill/web_hook/processor_spec.rb in mandrill-rails-1.3.1 vs spec/mandrill/web_hook/processor_spec.rb in mandrill-rails-1.4.0

- old
+ new

@@ -88,16 +88,9 @@ let(:callback_host_class) do Class.new do end end context "and default missing handler behaviour" do - before do - class ::Rails - end - end - after do - Object.send(:remove_const, :Rails) - end it "logs an error" do processor.on_unhandled_mandrill_events = :log logger = double() expect(logger).to receive(:error).twice expect(Rails).to receive(:logger).twice.and_return(logger)