From 5bf1f76762b96a104624dad659880bb896e27de8 Mon Sep 17 00:00:00 2001 From: Ritchie Martori Date: Wed, 7 May 2014 07:44:00 -0700 Subject: [PATCH] !fixup Test cleanup --- test/data-source.test.js | 1 - test/model.test.js | 8 +------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/test/data-source.test.js b/test/data-source.test.js index 46db9be1..ee29b3b1 100644 --- a/test/data-source.test.js +++ b/test/data-source.test.js @@ -70,7 +70,6 @@ describe('DataSource', function() { function existsAndShared(scope, name, isRemoteEnabled) { var fn = scope[name]; assert(fn, name + ' should be defined!'); - console.log(name, fn.shared, isRemoteEnabled); assert(!!fn.shared === isRemoteEnabled, name + ' ' + (isRemoteEnabled ? 'should' : 'should not') + ' be remote enabled'); } }); diff --git a/test/model.test.js b/test/model.test.js index ec23c72b..28753e29 100644 --- a/test/model.test.js +++ b/test/model.test.js @@ -5,7 +5,7 @@ var Change = loopback.Change; var defineModelTestsWithDataSource = require('./util/model-tests'); var DataModel = loopback.DataModel; -describe('Model', function() { +describe('Model / DataModel', function() { defineModelTestsWithDataSource({ dataSource: { connector: loopback.Memory @@ -209,12 +209,6 @@ describe.onServer('Remote Methods', function(){ }); describe('Remote Method invoking context', function () { - // describe('ctx.user', function() { - // it("The remote user model calling the method remotely", function(done) { - // done(new Error('test not implemented')); - // }); - // }); - describe('ctx.req', function() { it("The express ServerRequest object", function(done) { var hookCalled = false;