/* global describe, it */

var expect = require('chai').expect;


describe('bixby-security', function() {
  
  describe('package.json', function() {
    var json = require('../package.json');
    
    it('should have assembly metadata', function() {
      expect(json.assembly.namespace).to.equal('security');
      
      expect(json.assembly.components).to.have.length(4);
      expect(json.assembly.components).to.include('authentication/token/authenticate');
    });
  });
  
  it('should throw if required', function() {
    expect(function() {
      var pkg = require('..');
    }).to.throw(Error).with.property('code', 'MODULE_NOT_FOUND');
  });
  
});

@@ -368,9 +368,9 @@
 gth(
-4
+5
 );%0A 

Fix tests.