Skip to content

Commit

Permalink
docs(readme): fix typo in REAME
Browse files Browse the repository at this point in the history
  • Loading branch information
gergelyke authored and Peter Marton committed Jul 27, 2015
1 parent e6b31a6 commit 5e47ec5
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
"description": "",
"main": "index.js",
"scripts": {
"test": "exit 0",
"test": "NODE_ENV=test mocha $(find src -name \"*.spec.js\")",
"eslint": "eslint src"
},
"repository": {
"type": "git",
"url": "git+https://github.com/RisingStack/graffiti.git"
"url": "git@github.com:RisingStack/graffiti.git"
},
"author": "",
"license": "ISC",
Expand All @@ -18,7 +18,9 @@
},
"homepage": "https://github.com/RisingStack/graffiti#readme",
"devDependencies": {
"chai": "^3.2.0",
"eslint": "1.0.0-rc-3",
"mocha": "^2.2.5",
"pre-commit": "^1.0.10"
},
"pre-commit": [
Expand Down
19 changes: 19 additions & 0 deletions src/index.spec.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
var expect = require('chai').expect;

describe('graffiti', function() {

var graffiti = require('./');

it('exposes an express function', function() {
expect(graffiti.express).to.be.ok;
});

it('exposes an hapi function', function() {
expect(graffiti.hapi).to.be.ok;
});

it('exposes an koa function', function() {
expect(graffiti.koa).to.be.ok;
});

});

0 comments on commit 5e47ec5

Please sign in to comment.