Permalink
Browse files

added skeleton of database test and source

  • Loading branch information...
1 parent 7e45975 commit 2e8755fe8960662d3abe7e91e5662f999f8f14ec @chrisdew committed Nov 15, 2012
Showing with 14 additions and 0 deletions.
  1. +5 −0 lib/database.js
  2. +9 −0 test/database-test.js
View
@@ -0,0 +1,5 @@
+exports.helloWorld = helloWorld;
+
+function helloWorld() {
+ return "hello world";
+}
View
@@ -0,0 +1,9 @@
+var assert = require("assert")
+
+var database = require('../lib/database.js');
+describe('Database', function() {
+ it('should say "hello world"', function() {
+ assert.equal("hello world", database.helloWorld());
+ });
+});
+

0 comments on commit 2e8755f

Please sign in to comment.