You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sentry-ruby/spec/sentry/client/event_sending_spec.rb
-26Lines changed: 0 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -200,19 +200,6 @@
200
200
expect(string_io.string).toinclude("Discarded event because before_send didn't return a Sentry::ErrorEvent object but an instance of Integer")
201
201
expect(return_value).toeq(nil)
202
202
end
203
-
204
-
it"warns about Hash value's deprecation"do
205
-
string_io=StringIO.new
206
-
logger=Logger.new(string_io,level: :debug)
207
-
configuration.sdk_logger=logger
208
-
configuration.before_send=lambdado |_event,_hint|
209
-
{foo: "bar"}
210
-
end
211
-
212
-
return_value=client.send_event(event)
213
-
expect(string_io.string).toinclude("Returning a Hash from before_send is deprecated and will be removed in the next major version.")
214
-
expect(return_value).toeq({foo: "bar"})
215
-
end
216
203
end
217
204
218
205
it_behaves_like"Event in send_event"do
@@ -254,19 +241,6 @@
254
241
expect(string_io.string).toinclude("Discarded event because before_send_transaction didn't return a Sentry::TransactionEvent object but an instance of NilClass")
0 commit comments