Skip to content

Commit

Permalink
ensure specs are closed
Browse files Browse the repository at this point in the history
  • Loading branch information
mensfeld committed Feb 6, 2024
1 parent 72667b5 commit 9bda714
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/lib/waterdrop/instrumentation/notifications_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ def on_message_produced_async(_event)
]
end

after { producer.close }

context 'when producer is initialized' do
it { expect(status.to_s).to eq('initial') }
it { expect(events).to be_empty }
Expand Down

0 comments on commit 9bda714

Please sign in to comment.