Skip to content

Commit 6f31431

Browse files
committed
Change CONNECT format
1 parent eba5bde commit 6f31431

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/support/authorization.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
# The write concern to use in the tests.
4444
#
4545
# @since 2.0.0
46-
WRITE_CONCERN = (CONNECT == :replica_set) ? { w: ADDRESSES.size } : { w: 1 }
46+
WRITE_CONCERN = CONNECT[:connect] == :replica_set ? { w: ADDRESSES.size } : { w: 1 }
4747

4848
# Whether to use SSL.
4949
#

0 commit comments

Comments
 (0)