Skip to content

Commit

Permalink
Make sure subscribed tracing events are cleared after each tests
Browse files Browse the repository at this point in the history
  • Loading branch information
st0012 committed Sep 19, 2021
1 parent 5d41ab0 commit af128f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sentry-rails/spec/spec_helper.rb
Expand Up @@ -42,6 +42,7 @@

config.after :each do
Sentry::Rails::Tracing.unsubscribe_tracing_events
expect(Sentry::Rails::Tracing.subscribed_tracing_events).to be_empty
Sentry::Rails::Tracing.remove_active_support_notifications_patch
end

Expand Down

0 comments on commit af128f5

Please sign in to comment.