Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

use ajsh

  • Loading branch information...
commit f2737c09da7f8f4f6489f0eb0dae5206fe88f5d8 1 parent 35a2b69
@dgf authored
View
3  package.json
@@ -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
4 spec/crudl.spec.coffee
@@ -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
View
1  spec/helper/db.coffee → spec/db.coffee
@@ -1,4 +1,3 @@
-
Sequelize = require 'sequelize'
exports.createSqliteMemoryDb = ->
View
8 spec/helper/check.coffee
@@ -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()
View
4 spec/sequelize.spec.coffee
@@ -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 =
Please sign in to comment.
Something went wrong with that request. Please try again.