Skip to content

Commit

Permalink
Don't assign background_worker with nil
Browse files Browse the repository at this point in the history
  • Loading branch information
st0012 committed Jan 4, 2022
1 parent cb4bb2a commit 5366573
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions sentry-ruby/spec/sentry/hub_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -456,10 +456,6 @@
end
end

after do
Sentry.background_worker = nil
end

it "disables async event sending temporarily" do
subject.with_background_worker_disabled do
subject.capture_message("foo")
Expand Down

0 comments on commit 5366573

Please sign in to comment.