Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Helpers for testing OAuth2orize grants with the Chai assertion library.
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
support/mk
test
.gitignore
.jshintrc
.npmignore
.travis.yml
LICENSE
Makefile
README.md
package.json

README.md

chai-oauth2orize-grant

Build Coverage Quality Dependencies

Helpers for testing OAuth2orize grants with the Chai assertion library.

Install

$ npm install chai-oauth2orize-grant

Usage

Use Plugin

Use this plugin as you would all other Chai plugins:

var chai = require('chai');

chai.use(require('chai-oauth2orize-grant'));

Write Test Cases

Once used, the chai.oauth2orize.grant helper function will be available to set up test cases for OAuth2orize grants.

Tests

$ npm install
$ npm test

Credits

License

The MIT License

Copyright (c) 2013 Jared Hanson <http://jaredhanson.net/>

Something went wrong with that request. Please try again.