Skip to content

Commit 97d1b50

Browse files
committed
RUBY-949 update topology specs
1 parent ea5e2ef commit 97d1b50

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spec/mongo/cluster/topology_spec.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,18 +68,18 @@
6868
context 'when provided a single mongos', if: single_mongos? do
6969

7070
let(:topology) do
71-
described_class.initial(ADDRESSES, {})
71+
described_class.initial(ADDRESSES, TEST_OPTIONS)
7272
end
7373

74-
it 'returns a single topology' do
75-
expect(topology).to be_a(Mongo::Cluster::Topology::Single)
74+
it 'returns a sharded topology' do
75+
expect(topology).to be_a(Mongo::Cluster::Topology::Sharded)
7676
end
7777
end
7878

7979
context 'when provided a single replica set member', if: single_rs_member? do
8080

8181
let(:topology) do
82-
described_class.initial(ADDRESSES, {})
82+
described_class.initial(ADDRESSES, TEST_OPTIONS)
8383
end
8484

8585
it 'returns a single topology' do

0 commit comments

Comments
 (0)