Permalink
Browse files

use ajsh

  • Loading branch information...
1 parent 35a2b69 commit f2737c09da7f8f4f6489f0eb0dae5206fe88f5d8 @dgf committed Oct 21, 2013
Showing with 6 additions and 14 deletions.
  1. +2 −1 package.json
  2. +2 −2 spec/crudl.spec.coffee
  3. +0 −1 spec/{helper → }/db.coffee
  4. +0 −8 spec/helper/check.coffee
  5. +2 −2 spec/sequelize.spec.coffee
View
@@ -21,7 +21,8 @@
, "underscore": "1.5.x"
}
, "devDependencies": {
- "jasmine-node": "1.11.x"
+ "ajsh": "0.1.x"
+ , "jasmine-node": "1.11.x"
, "sequelize": "1.5.x"
, "sqlite3": "2.1.x"
}
View
@@ -1,7 +1,7 @@
Sequelize = require 'sequelize'
-{aCheck, aFail} = require './helper/check'
-dbFactory = require './helper/db'
+{aCheck, aFail} = require 'ajsh'
+dbFactory = require './db'
crudl = require '../src/crudl'
FAST = 20
@@ -1,4 +1,3 @@
-
Sequelize = require 'sequelize'
exports.createSqliteMemoryDb = ->
View
@@ -1,8 +0,0 @@
-# async check helper
-
-exports.aCheck = (message, test, timeout = 20) ->
- isDone = false
- runs -> test -> isDone = true
- waitsFor (-> isDone), message, timeout
-
-exports.aFail = (it, done) -> (msg) => it.fail msg; done()
@@ -1,7 +1,7 @@
Sequelize = require 'sequelize'
-{aCheck, aFail} = require './helper/check'
-dbFactory = require './helper/db'
+{aCheck, aFail} = require 'ajsh'
+dbFactory = require './db'
# test data
sessions =

0 comments on commit f2737c0

Please sign in to comment.