spec/notification_spec.rb in bugsnag-5.4.0 vs spec/notification_spec.rb in bugsnag-5.4.1

- old
+ new

@@ -964,11 +964,11 @@ Bugsnag.notify $! end expect(Bugsnag).to have_sent_notification{ |payload| exception = get_exception_from_payload(payload) - expect(exception["errorClass"]).to eq('Java::JavaLang::ArrayIndexOutOfBoundsException') - expect(exception["message"]).to eq("2") + expect(exception["errorClass"]).to eq('Java::JavaLang::NullPointerException') + expect(exception["message"]).to eq("") expect(exception["stacktrace"].size).to be > 0 } end end end