
/**
 * Package
 */

var pkg = require('../package.json');

/**
 * Testing data
 */

var tdata = require('./data');

/**
 * Sync tests
 */

describe('package', function(){
  it('version should have x.x.x format', function(){
    pkg.version.should.match(/\d\.\d\.\d/);
  });
});

describe('testing data', function(){
  it('`client id` should be a string of numbers', function(){
    (Number(tdata.client_id)).should.be.a.Number;
  });

  it('`client secret` length and type', function(){
    tdata.client_secret
      .should.be.an.instanceOf(String)
      .and.length(64);
  });

  it('`token` should be a String', function(){
    tdata.token
      .should.be.an.instanceOf(String);
  });
});

@@ -674,21 +674,142 @@
 f(String);%0A  %7D);
+%0A%0A  it('%60site%60 should be defined', function()%7B%0A    tdata.site%0A      .should.be.ok%0A      .and.an.instanceOf(String);%0A  %7D);
 %0A%7D);%0A

add test for testing data site id