Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

tests now pass as expected

  • Loading branch information...
commit ada89e9263aeb2f869647aac82a25dc5f360841d 1 parent b5ef31b
@nka11 nka11 authored
Showing with 2 additions and 9 deletions.
  1. +0 −1  node_modules/NoCR
  2. +2 −8 test/testSuite.js
1  node_modules/NoCR
@@ -1 +0,0 @@
-Subproject commit 6a8280c545f91585eaffb845bdb2b3297907d474
View
10 test/testSuite.js
@@ -1,14 +1,8 @@
var
log4js = require('log4js')().configure('./conf/log4js.json'),
nocr = require("NoCR"),
-// nocrMongo = require('nocr-mongo'),
-// Repository = nocrMongo.Repository,
- // object import should be line above, as nocr-mongo is now an npm package.
- // checks for object type agains nocr api (repository instanceof nocr.Repository fails
- // when all other tests pass
- // line below works but sounds like a workaround
- // maybe a packaging issue----
- Repository = require('../lib/Repository.js'),
+ nocrMongo = require('nocr-mongo'),
+ Repository = nocrMongo.Repository,
vows = require('vows'),
assert = require('assert'),
testSuite, testrepository,
Please sign in to comment.
Something went wrong with that request. Please try again.