var vows = require('vows');
var assert = require('assert');
var util = require('util');
var oauth = require('passport-http-oauth');


vows.describe('passport-http-oauth').addBatch({
  
  'should report a version': function () {
    assert.isString(oauth.version);
  },
  
  'should export strategies': function () {
    assert.isFunction(oauth.TokenStrategy);
  },
  
}).export(module);

var vows = require('vows');
var assert = require('assert');
var util = require('util');
var oauth = require('passport-http-oauth');


vows.describe('passport-http-oauth').addBatch({
  
  'should report a version': function () {
    assert.isString(oauth.version);
  },
  
  'should export strategies': function () {
    assert.isFunction(oauth.ClientStrategy);
    assert.strictEqual(oauth.ClientStrategy, oauth.ConsumerStrategy);
    assert.isFunction(oauth.TokenStrategy);
  },
  
}).export(module);

Test export of ClientStrategy, with alias to ConsumerStrategy.
Test export of ClientStrategy, with alias to ConsumerStrategy.
