diff --git a/spec/notification_spec.rb b/spec/notification_spec.rb index af4a93f5a..a7580673d 100644 --- a/spec/notification_spec.rb +++ b/spec/notification_spec.rb @@ -967,7 +967,7 @@ def gloops expect(Bugsnag).to have_sent_notification{ |payload| exception = get_exception_from_payload(payload) expect(exception["errorClass"]).to eq('Java::JavaLang::NullPointerException') - expect(exception["message"]).to eq("2") + expect(exception["message"]).to eq("") expect(exception["stacktrace"].size).to be > 0 } end