We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea5e2ef commit 97d1b50Copy full SHA for 97d1b50
spec/mongo/cluster/topology_spec.rb
@@ -68,18 +68,18 @@
68
context 'when provided a single mongos', if: single_mongos? do
69
70
let(:topology) do
71
- described_class.initial(ADDRESSES, {})
+ described_class.initial(ADDRESSES, TEST_OPTIONS)
72
end
73
74
- it 'returns a single topology' do
75
- expect(topology).to be_a(Mongo::Cluster::Topology::Single)
+ it 'returns a sharded topology' do
+ expect(topology).to be_a(Mongo::Cluster::Topology::Sharded)
76
77
78
79
context 'when provided a single replica set member', if: single_rs_member? do
80
81
82
83
84
85
it 'returns a single topology' do
0 commit comments