remove subdomains.status

This commit is contained in:
Girish Ramakrishnan
2016-12-14 12:28:31 -08:00
parent d475d9bcbf
commit 3ede9af34b
7 changed files with 0 additions and 133 deletions

View File

@@ -61,15 +61,6 @@ describe('dns provider', function () {
done();
});
});
it('status succeeds', function (done) {
subdomains.status('noop-record-id', function (error, result) {
expect(error).to.eql(null);
expect(result).to.eql('done');
done();
});
});
});
describe('digitalocean', function () {
@@ -329,16 +320,6 @@ describe('dns provider', function () {
done();
});
});
it('status succeeds', function (done) {
// actually not implemented in the backend
subdomains.status('unused', function (error, result) {
expect(error).to.eql(null);
expect(result).to.eql('done');
done();
});
});
});
describe('route53', function () {
@@ -516,41 +497,5 @@ describe('dns provider', function () {
done();
});
});
it('status succeeds for pending', function (done) {
awsAnswerQueue.push([null, {
ChangeInfo: {
Id: '/change/C2QLKQIWEI0BZF',
Status: 'PENDING',
SubmittedAt: 'Mon Aug 04 2014 17: 44: 49 GMT - 0700(PDT)'
}
}]);
subdomains.status('/change/C2QLKQIWEI0BZF', function (error, result) {
expect(error).to.eql(null);
expect(result).to.eql('pending');
expect(awsAnswerQueue.length).to.eql(0);
done();
});
});
it('status succeeds for done', function (done) {
awsAnswerQueue.push([null, {
ChangeInfo: {
Id: '/change/C2QLKQIWEI0BZF',
Status: 'INSYNC',
SubmittedAt: 'Mon Aug 04 2014 17: 44: 49 GMT - 0700(PDT)'
}
}]);
subdomains.status('/change/C2QLKQIWEI0BZF', function (error, result) {
expect(error).to.eql(null);
expect(result).to.eql('done');
expect(awsAnswerQueue.length).to.eql(0);
done();
});
});
});
});