Permalink
Browse files

Updated node version requirements

  • Loading branch information...
1 parent cb963af commit 747cfa1e67af2d27b56e2aad6a13ba2dac51f845 @easternbloc committed Jan 15, 2012
Showing with 6 additions and 2 deletions.
  1. +4 −0 README.md
  2. +2 −2 package.json
View
@@ -17,6 +17,10 @@ To properly unit test your code you need mock all the modules and methods your m
dns.resolve4(urlParsed, callback);
};
+## Installation
+
+ npm install syringe
+
In order to unit test this module properly, you need to mock functions in the dns and url modules. Syringe lets you inject directly over the top of modules or selectively mock the methods in them you're using.
var dns = require('./dns');
View
@@ -1,6 +1,6 @@
{
"author": "Ben Marvell <madmarv187@gmail.com>",
- "name": "Syringe",
+ "name": "syringe",
"description": "Dependency mocking for node modules.",
"version": "0.1.1",
"homepage": "https://github.com/easternbloc/Syringe",
@@ -13,7 +13,7 @@
"test": "nodeunit test/"
},
"engines": {
- "node": "~0.4.x"
+ "node":">= 0.4.0 < 0.7.0"
},
"dependencies": {},
"devDependencies": {

0 comments on commit 747cfa1

Please sign in to comment.