Sha256: 5c9f8fc567a927f9a8a87f48c4a8a9f84320bbd61d1e5f5f33736347223b9b7c
Contents?: true
Size: 554 Bytes
Versions: 13
Compression:
Stored size: 554 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Bugsnag do describe 'notify' do before do Bugsnag.configuration.logger = spy('logger') end it 'does not log an error when sending valid arguments as auto_notify' do notify_test_exception(true) expect(Bugsnag.configuration.logger).to_not have_received(:warn) end it 'logs an error when sending invalid arguments as auto_notify' do notify_test_exception({severity: 'info'}) expect(Bugsnag.configuration.logger).to have_received(:warn) end end end
Version data entries
13 entries across 13 versions & 1 rubygems