Skip to content

Commit

Permalink
Reorganize tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredhanson committed Nov 27, 2013
1 parent 19dc429 commit b64d209
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions test/module.test.js → test/package.test.js
@@ -1,9 +1,9 @@
var passportStrategy = require('..');
var passport = require('..');

describe('chai-passport-strategy', function() {

it('should export function', function() {
expect(passportStrategy).to.be.a('function');
expect(passport).to.be.a('function');
});

});
6 changes: 3 additions & 3 deletions test/index.test.js → test/plugin.test.js
@@ -1,10 +1,10 @@
var passportStrategy = require('..')
var plugin = require('..')
, Test = require('../lib/test');

describe('helper', function() {
describe('plugin', function() {

var chai = {};
passportStrategy(chai);
plugin(chai);

it('should add passport helper to chai', function() {
expect(chai.passport).to.be.a('function');
Expand Down

0 comments on commit b64d209

Please sign in to comment.