Skip to content

Commit

Permalink
improve spec stability
Browse files Browse the repository at this point in the history
  • Loading branch information
mensfeld committed Sep 19, 2024
1 parent efa5dfe commit 441d4f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/lib/waterdrop/producer/transactions_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@
end

context 'when we start transaction and raise an error' do
subject(:producer) { build(:transactional_producer, queue_buffering_max_ms: 5_000) }

it 'expect to re-raise this error' do
expect do
producer.transaction do
Expand Down

0 comments on commit 441d4f8

Please sign in to comment.