Skip to content

Commit e5caf4f

Browse files
author
Jessica Lord
committed
fix(dns txt records): check options are set
1 parent a1ce65a commit e5caf4f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/functional/dns_txt_records_tests.js

+6
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ describe('DNS and TXT record tests', function() {
3232
} else {
3333
expect(err).to.be.null;
3434
expect(object).to.exist;
35+
if (test[1].options && test[1].options.replicaSet) {
36+
expect(object.rs_options.rs_name).to.equal(test[1].options.replicaSet);
37+
}
38+
if (test[1].options && test[1].options.ssl) {
39+
expect(object.server_options.ssl).to.equal(test[1].options.ssl);
40+
}
3541
}
3642
done();
3743
});

0 commit comments

Comments
 (0)