aboutsummaryrefslogtreecommitdiff
path: root/tests/node_min_test.js
diff options
context:
space:
mode:
authorDimitarChristoff <[email protected]>2012-08-30 18:22:34 +0100
committerDimitarChristoff <[email protected]>2012-08-30 18:22:34 +0100
commit80815b6a263733af8cbe5c50fe3bd2a323f3d8b4 (patch)
tree84ceaad47ce415ae4f043338fbc92234cc2b52a6 /tests/node_min_test.js
parent91687983efeae6807e910b99d7e1c013e9e3aff1 (diff)
downloadfaker-80815b6a263733af8cbe5c50fe3bd2a323f3d8b4.tar.xz
faker-80815b6a263733af8cbe5c50fe3bd2a323f3d8b4.zip
node test as shell script
Diffstat (limited to 'tests/node_min_test.js')
-rwxr-xr-x[-rw-r--r--]tests/node_min_test.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/node_min_test.js b/tests/node_min_test.js
index 6fc051a5..21da7632 100644..100755
--- a/tests/node_min_test.js
+++ b/tests/node_min_test.js
@@ -1,10 +1,9 @@
+#!/usr/bin/env node
+
var util = require('util');
var Faker = require('../Faker');
var card = Faker.Helpers.createCard();
-util.puts(JSON.stringify(card));
-
-
-
+util.puts(JSON.stringify(card)); \ No newline at end of file