aboutsummaryrefslogtreecommitdiffstats
path: root/test/utils.js
diff options
context:
space:
mode:
authorMarek Kotewicz <marek.kotewicz@gmail.com>2015-01-16 00:27:07 +0800
committerMarek Kotewicz <marek.kotewicz@gmail.com>2015-01-16 00:27:07 +0800
commit6d02c0d392762203dc150203ce0f315654aed5c2 (patch)
treee6c51635dae8245effc9b570de4f8cb00a117b1c /test/utils.js
parent508f116738517efc8c21233e9d50349ba30e223c (diff)
parentec74fc05d438806ece64fe34b0f28c8f45f5167e (diff)
downloaddexon-6d02c0d392762203dc150203ce0f315654aed5c2.tar
dexon-6d02c0d392762203dc150203ce0f315654aed5c2.tar.gz
dexon-6d02c0d392762203dc150203ce0f315654aed5c2.tar.bz2
dexon-6d02c0d392762203dc150203ce0f315654aed5c2.tar.lz
dexon-6d02c0d392762203dc150203ce0f315654aed5c2.tar.xz
dexon-6d02c0d392762203dc150203ce0f315654aed5c2.tar.zst
dexon-6d02c0d392762203dc150203ce0f315654aed5c2.zip
Merge commit '1a6dbeff6e86d65cae6d7db366cbaa4182eaff7f' into ethereumjs
Conflicts: libjsqrc/ethereumjs/dist/ethereum.js libjsqrc/ethereumjs/dist/ethereum.js.map libjsqrc/ethereumjs/dist/ethereum.min.js libjsqrc/ethereumjs/lib/abi.js
Diffstat (limited to 'test/utils.js')
-rw-r--r--test/utils.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/utils.js b/test/utils.js
index 4c508da67..8617348e4 100644
--- a/test/utils.js
+++ b/test/utils.js
@@ -1,11 +1,15 @@
var assert = require('assert');
var methodExists = function (object, method) {
- assert.equal('function', typeof object[method], 'method ' + method + ' is not implemented');
+ it('should have method ' + method + ' implemented', function() {
+ assert.equal('function', typeof object[method], 'method ' + method + ' is not implemented');
+ });
};
var propertyExists = function (object, property) {
- assert.equal('object', typeof object[property], 'property ' + property + ' is not implemented');
+ it('should have property ' + property + ' implemented', function() {
+ assert.equal('object', typeof object[property], 'property ' + property + ' is not implemented');
+ });
};
module.exports = {