Skip to content

Commit

Permalink
Clear context before test run
Browse files Browse the repository at this point in the history
  • Loading branch information
lloydwatkin committed Apr 29, 2024
1 parent 4c5965b commit 78b3aa3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/lib/janus/query_director_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
end

describe '#where_to_send?' do
before(:each) do
Janus::Context.release_all
end

context 'when should send to all' do
it 'returns :all' do
sql = 'SET foo = bar'
Expand Down

0 comments on commit 78b3aa3

Please sign in to comment.