Skip to content

Commit

Permalink
fix(dns txt records): check options are set
Browse files Browse the repository at this point in the history
  • Loading branch information
Jessica Lord committed Nov 27, 2017
1 parent a1ce65a commit e5caf4f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/functional/dns_txt_records_tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ describe('DNS and TXT record tests', function() {
} else {
expect(err).to.be.null;
expect(object).to.exist;
if (test[1].options && test[1].options.replicaSet) {
expect(object.rs_options.rs_name).to.equal(test[1].options.replicaSet);
}
if (test[1].options && test[1].options.ssl) {
expect(object.server_options.ssl).to.equal(test[1].options.ssl);
}
}
done();
});
Expand Down

0 comments on commit e5caf4f

Please sign in to comment.