Fixed codacy issue.

Project: http://git-wip-us.apache.org/repos/asf/usergrid-nodejs/repo
Commit: http://git-wip-us.apache.org/repos/asf/usergrid-nodejs/commit/167fed03
Tree: http://git-wip-us.apache.org/repos/asf/usergrid-nodejs/tree/167fed03
Diff: http://git-wip-us.apache.org/repos/asf/usergrid-nodejs/diff/167fed03

Branch: refs/heads/master
Commit: 167fed037d46758d60ca58e70cedbabbe62c5c83
Parents: 50cf285
Author: Robert Walsh <[email protected]>
Authored: Thu Nov 10 21:05:36 2016 -0600
Committer: Robert Walsh <[email protected]>
Committed: Thu Nov 10 21:05:36 2016 -0600

----------------------------------------------------------------------
 tests/lib/asset.test.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/usergrid-nodejs/blob/167fed03/tests/lib/asset.test.js
----------------------------------------------------------------------
diff --git a/tests/lib/asset.test.js b/tests/lib/asset.test.js
index b97ac70..389a616 100644
--- a/tests/lib/asset.test.js
+++ b/tests/lib/asset.test.js
@@ -25,7 +25,7 @@ describe('init from fs.readFile()', function() {
     })
 
     it('asset.data should be a binary Buffer', function() {
-        asset.data.should.be.a.buffer
+        asset.data.should.be.a.buffer()
     })
 
     it('asset.contentType should be inferred from Buffer', function() {
@@ -53,7 +53,7 @@ describe('init from piped writable stream', function() {
     })
 
     it('asset.data should be a binary Buffer', function() {
-        asset.data.should.be.a.buffer
+        asset.data.should.be.a.buffer()
     })
 
     it('asset.contentType should be inferred from Buffer', function() {

Reply via email to