Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Add version check test
Browse files Browse the repository at this point in the history
  • Loading branch information
swang committed Jul 18, 2013
1 parent b8b8321 commit f6a4151
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/version.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
'use strict';

var constants = require('../lib/const')
, should = require('should')
, pkg = require('../package.json')


describe("Versioning", function() {
it("Should return same version in const.js and package.json", function() {
constants.VERSION.should.equal(pkg.version)
})
})

0 comments on commit f6a4151

Please sign in to comment.