Skip to content

Commit

Permalink
Clear AggregateRepository after spec
Browse files Browse the repository at this point in the history
  • Loading branch information
lvonk committed Nov 8, 2023
1 parent 4ed3d58 commit 83aa539
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spec/lib/sequent/core/aggregate_repository_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ def load_from_history(stream, events)
Sequent.configuration.event_store = event_store
repository.clear
end
after do
repository.clear
end

let(:event_store) { double }
let(:repository) { Sequent.configuration.aggregate_repository }
Expand Down

0 comments on commit 83aa539

Please sign in to comment.