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 cfaa191 commit 47f9abbCopy full SHA for 47f9abb
spec/spec_helper.rb
@@ -100,6 +100,9 @@ def sharded?
100
end
101
102
# Determine whether the single address provided is a replica set member.
103
+# @note To run the specs relying on this to return true,
104
+# start a replica set and set the environment variable
105
+# MONGODB_ADDRESSES to the address of a single member.
106
#
107
# @since 2.0.0
108
def single_rs_member?
@@ -108,6 +111,9 @@ def single_rs_member?
111
109
112
110
113
# Determine whether the single address provided is a mongos.
114
115
+# start a sharded cluster and set the environment variable
116
+# MONGODB_ADDRESSES to the address of a single mongos.
117
118
119
def single_mongos?
0 commit comments