Skip to content

Commit d61680a

Browse files
committed
fix(rails): no with_usec in 7.0
1 parent b610cb2 commit d61680a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sentry-rails/spec/active_job/shared_examples/tracing/messaging_span_data.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def perform; end
4848
# Older Rails versions truncate Time.now to whole seconds inside `travel`
4949
# (no `with_usec:` option until 7.0+), so the measured latency can be up
5050
# to ~999ms below the travel delta. Widen the tolerance accordingly.
51-
if RAILS_VERSION >= 7.0
51+
if RAILS_VERSION > 7.0
5252
travel(5.seconds, with_usec: true) { drain }
5353
tolerance = 50
5454
else

0 commit comments

Comments
 (0)