Skip to content

Commit 803ca2f

Browse files
committed
MONGOID-4610 Use dummy addresses in Mongoid::Clients::Factory test (#4541)
1 parent cb5eeab commit 803ca2f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/mongoid/clients/factory_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@
132132

133133
let(:config) do
134134
{
135-
default: { hosts: [ "127.0.0.1:27017" ], database: database_id },
136-
secondary: { uri: "mongodb://127.0.0.1:27017,127.0.0.1:27018/mongoid_test" }
135+
default: { hosts: [ "127.0.0.1:1234" ], database: database_id },
136+
secondary: { uri: "mongodb://127.0.0.1:1234,127.0.0.1:5678/mongoid_test" }
137137
}
138138
end
139139

@@ -162,7 +162,7 @@
162162
end
163163

164164
it "sets the cluster's seeds" do
165-
expect(seeds).to eq([ "127.0.0.1:27017", "127.0.0.1:27018" ])
165+
expect(seeds).to eq([ "127.0.0.1:1234", "127.0.0.1:5678" ])
166166
end
167167
end
168168
end

0 commit comments

Comments
 (0)