From ddb14636b265953a15088a364e9cb7be8e885e47 Mon Sep 17 00:00:00 2001 From: Tj Holowaychuk Date: Mon, 24 Oct 2011 13:58:21 -0700 Subject: [PATCH] Fixed tests for 0.5.x --- .gitignore | 1 + Makefile | 3 +-- package.json | 4 ++++ support/expresso | 1 - test/exist.test.js | 2 +- test/should.test.js | 2 +- 6 files changed, 8 insertions(+), 5 deletions(-) create mode 100644 .gitignore delete mode 160000 support/expresso diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3c3629e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +node_modules diff --git a/Makefile b/Makefile index a2f2a41..5565ce7 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,5 @@ test: - @./support/expresso/bin/expresso \ - -I lib + @./node_modules/.bin/expresso .PHONY: test \ No newline at end of file diff --git a/package.json b/package.json index f57b9b7..793f306 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,10 @@ , "version": "0.3.1" , "author": "TJ Holowaychuk " , "contributors": [ "Aseem Kishore " ] + , "devDependencies": { + "expresso": "0.9.2" + , "should": "*" + } , "keywords": ["test", "bdd", "assert"] , "main": "./lib/should.js" , "engines": { "node": ">= 0.2.0" } diff --git a/support/expresso b/support/expresso deleted file mode 160000 index 7f10ab7..0000000 --- a/support/expresso +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 7f10ab7fa655299b4e2f519065b0495e6ac34ef2 diff --git a/test/exist.test.js b/test/exist.test.js index 3ac326c..7aa1082 100644 --- a/test/exist.test.js +++ b/test/exist.test.js @@ -3,7 +3,7 @@ * Module dependencies. */ -var should = require('should'); +var should = require('../'); var util = require('util'); function err(fn, msg) { diff --git a/test/should.test.js b/test/should.test.js index ae7ae08..bbd3584 100644 --- a/test/should.test.js +++ b/test/should.test.js @@ -3,7 +3,7 @@ * Module dependencies. */ -var should = require('should'); +var should = require('../'); function err(fn, msg) { try {