spec/notification_spec.rb in bugsnag-2.0.3 vs spec/notification_spec.rb in bugsnag-2.1.0
- old
+ new
@@ -704,10 +704,10 @@
it "should work with java.lang.Throwables" do
expect(Bugsnag::Notification).to receive(:deliver_exception_payload) do |endpoint, payload|
expect(payload[:events][0][:exceptions][0][:errorClass]).to eq('Java::JavaLang::ArrayIndexOutOfBoundsException')
expect(payload[:events][0][:exceptions][0][:message]).to eq("2")
- expect(payload[:events][0][:exceptions][0][:stacktrace].size).to be_gt(0)
+ expect(payload[:events][0][:exceptions][0][:stacktrace].size).to be > 0
end
begin
JRubyException.raise!
rescue