Ejemplo n.º 1
0
 'success': function(err, resp) {
   assert.isNull(err);
   assert.strictEqual(resp.code, 200);
 },
 "works": function(err, cert) {
   assert.isNull(err);
   assert.isString(cert);
   primaryCert = cert;
 }
Ejemplo n.º 3
0
 'and return null': function(d) {
     assert.isNull(d);
 }
 "works": function(err, kp) {
   assert.isNull(err);
   assert.isObject(kp);
   fakeDomainKeypair = kp;
 }
 "works": function(err, cert) {
   assert.isNull(err);
   assert.isString(cert);
   fakeCert = cert;
 }
Ejemplo n.º 6
0
 'should not error' : function(err, req) {
   assert.isNull(err);
 },
Ejemplo n.º 7
0
 "a dir with a reduced number of files": function (error,files) {
     assert.isNull(error);
     assert.equal(files.length,2);
 }
Ejemplo n.º 8
0
 "like so": function(err, ok) {
   assert.isNull(err);
 }
Ejemplo n.º 9
0
 "tear it down": function(err, ok) {
   assert.isNull(err);
 }
Ejemplo n.º 10
0
 "it gets put at the end of the deck": function(err, offset) {
   assert.isNull(err);
   assert.isNumber(offset);
   assert.notEqual(offset, 0);
   tempNumber = offset;
 }, 
Ejemplo n.º 11
0
 "like so": function (err, word) {
   assert.isNull(err);
   assert.isString(formerWord);
   assert.isString(word);
   assert.notEqual(word, formerWord);
 }
Ejemplo n.º 12
0
 "and puts the card back in the deck": function(err, offset) {
   assert.isNull(err);
   assert.isNumber(offset);
   assert.notEqual(offset, 0);
   tempNumber = offset;
 },
Ejemplo n.º 13
0
 'Verify the Last Error is null': function (data) {
   assert.isNull(data.model.lastError);
 },
Ejemplo n.º 14
0
 'Verify the Project Last Error is null': function (model) {
   assert.isNull(model.lastError);
 }
Ejemplo n.º 15
0
 'verify no error is returned': function(err, resp) {
   assert.isNull(err);
   assert.isObject(resp);
   assert.include(resp, 'ids');
 }
Ejemplo n.º 16
0
 "like so": function(err, deckLength) {
   assert.isNull(err);
   assert.isNumber(deckLength);
   assert.notEqual(deckLength, 0);
 }
Ejemplo n.º 17
0
Archivo: line-test.js Proyecto: 1y/d3
 "returns null if input points array is empty": function(line) {
   assert.isNull(line()([]));
 },
Ejemplo n.º 18
0
 "that has a word on it.": function(err, word) {
   assert.isNull(err);
   assert.isString(word);
 }
Ejemplo n.º 19
0
 "has contents": function (error,files) {
     assert.isNull(error);
     assert.equal(files.length,3);
 }
Ejemplo n.º 20
0
 "and get its definition.": function(err, def) {
   assert.isNull(err);
   assert.isString(def);
 }
Ejemplo n.º 21
0
 "does not error": function (error,stdout,stderr) {
     assert.isNull(error);
 },
Ejemplo n.º 22
0
 'should not contain previous process': function (list) {
   assert.isNull(list);
 }
 "works": function(err, kp) {
   assert.isNull(err);
   assert.isObject(kp);
   newClientKeypair = kp;
 }
Ejemplo n.º 24
0
 "the log() method": helpers.testNpmLevels(authWebhookTransport, "should respond with true", function (ign, err, logged) {
   assert.isNull(err);
   assert.isTrue(logged);
 })
 "works": function(err, cert) {
   assert.isNull(err);
   assert.isString(cert);
   otherIssuerCert = cert;
 }
Ejemplo n.º 26
0
 'is in test_schema': function(err, result) {
     assert.isNull(err);
     assert.isNotNull(result);
     assert.equal(result.rowCount, 1);
 }
Ejemplo n.º 27
0
 "http" : function(err, resp) {
     assert.isNull(err);
     assert.equal(resp.toString(), fixture);
 }
Ejemplo n.º 28
0
 'verify the error was sent': function(err, resp) {
   assert.isNull(err);
   assert.isObject(resp);
   assert.include(resp, 'ids');
 }
Ejemplo n.º 29
0
 "should namespace the server and drone": function (err, server) {
   assert.isNull(err);
   assert.isObject(haibu.running);
   assert.isObject(haibu.running.server);
   assert.isObject(haibu.running.drone);
 },
Ejemplo n.º 30
0
 'Dropped test db': function(err) {
   assert.isNull(err);
 }