mirror of
/repos/Prototyper.git
synced 2025-12-30 06:31:32 +01:00
correct test
This commit is contained in:
parent
488320257a
commit
2788680e77
@ -84,7 +84,7 @@ describe('mongoData', function () {
|
||||
|
||||
function testArguments(options) {
|
||||
return function (done) {
|
||||
mongoDataInstance.getMongoContent(options, function (err, result, coll) {
|
||||
mongoDataInstance.getContent(options, function (err, result, coll) {
|
||||
if (options.collection === 'ok') {
|
||||
expect(result).to.equal('ok');
|
||||
expect(err).to.not.be.ok;
|
||||
@ -198,7 +198,7 @@ describe('mongoData', function () {
|
||||
|
||||
function testArguments(options) {
|
||||
return function (done) {
|
||||
mongoDataInstance.getMongoAttribute(options, function (err, result, coll) {
|
||||
mongoDataInstance.getAttribute(options, function (err, result, coll) {
|
||||
if (options.collection === 'ok') {
|
||||
//console.log('result',result,'err',err,'coll',coll);
|
||||
expect(result).to.equal(ok);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user