Skip to content

Commit

Permalink
RUBY-5621 Fix disconnect_clients spec (#5659)
Browse files Browse the repository at this point in the history
  • Loading branch information
comandeo-mongo committed Jul 7, 2023
1 parent 1cffa3c commit 597e7ad
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions spec/mongoid_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,8 @@
end

it "disconnects from all active clients" do
pending 'https://jira.mongodb.org/browse/MONGOID-5621'

clients.each do |client|
expect(client.cluster).to receive(:disconnect!).and_call_original
expect(client).to receive(:close).and_call_original
end
Mongoid.disconnect_clients
end
Expand Down

0 comments on commit 597e7ad

Please sign in to comment.