diff options
author | Kevin Serrano <kevgagser@gmail.com> | 2016-11-23 02:26:16 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-23 02:26:16 +0800 |
commit | d92741c41984aa9d5268f4aca04ec916a95ef204 (patch) | |
tree | f6400549253c2c6459d54ba3211d0fb9bf61f6dd /test/unit | |
parent | be6b7b496a95fa036161b6c600eadd733676e954 (diff) | |
parent | 60afc41bb65547ace5e3a16b9c743a0dbf36d58a (diff) | |
download | tangerine-wallet-browser-d92741c41984aa9d5268f4aca04ec916a95ef204.tar tangerine-wallet-browser-d92741c41984aa9d5268f4aca04ec916a95ef204.tar.gz tangerine-wallet-browser-d92741c41984aa9d5268f4aca04ec916a95ef204.tar.bz2 tangerine-wallet-browser-d92741c41984aa9d5268f4aca04ec916a95ef204.tar.lz tangerine-wallet-browser-d92741c41984aa9d5268f4aca04ec916a95ef204.tar.xz tangerine-wallet-browser-d92741c41984aa9d5268f4aca04ec916a95ef204.tar.zst tangerine-wallet-browser-d92741c41984aa9d5268f4aca04ec916a95ef204.zip |
Merge pull request #856 from MetaMask/i835-OrganizeKeyrings
I835 organize keyrings
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/account-link-test.js | 4 | ||||
-rw-r--r-- | test/unit/keyrings/hd-test.js | 8 | ||||
-rw-r--r-- | test/unit/keyrings/simple-test.js | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/test/unit/account-link-test.js b/test/unit/account-link-test.js index 08d190f71..39889b6be 100644 --- a/test/unit/account-link-test.js +++ b/test/unit/account-link-test.js @@ -3,8 +3,8 @@ var linkGen = require('../../ui/lib/account-link') describe('account-link', function() { - it('adds testnet prefix to ropsten test network', function() { - var result = linkGen('account', '3') + it('adds testnet prefix to morden test network', function() { + var result = linkGen('account', '2') assert.notEqual(result.indexOf('testnet'), -1, 'testnet injected') assert.notEqual(result.indexOf('account'), -1, 'account included') }) diff --git a/test/unit/keyrings/hd-test.js b/test/unit/keyrings/hd-test.js index c22ffc913..bec1a8134 100644 --- a/test/unit/keyrings/hd-test.js +++ b/test/unit/keyrings/hd-test.js @@ -27,9 +27,9 @@ describe('hd-keyring', function() { assert.equal(accounts[1], secondAcct) }) - describe('Keyring.type()', function() { - it('is a class method that returns the type string.', function() { - const type = HdKeyring.type() + describe('Keyring.type', function() { + it('is a class property that returns the type string.', function() { + const type = HdKeyring.type assert.equal(typeof type, 'string') }) }) @@ -37,7 +37,7 @@ describe('hd-keyring', function() { describe('#type', function() { it('returns the correct value', function() { const type = keyring.type - const correct = HdKeyring.type() + const correct = HdKeyring.type assert.equal(type, correct) }) }) diff --git a/test/unit/keyrings/simple-test.js b/test/unit/keyrings/simple-test.js index ba000a7a8..96a2fdcf0 100644 --- a/test/unit/keyrings/simple-test.js +++ b/test/unit/keyrings/simple-test.js @@ -13,9 +13,9 @@ describe('simple-keyring', function() { keyring = new SimpleKeyring() }) - describe('Keyring.type()', function() { - it('is a class method that returns the type string.', function() { - const type = SimpleKeyring.type() + describe('Keyring.type', function() { + it('is a class property that returns the type string.', function() { + const type = SimpleKeyring.type assert.equal(type, TYPE_STR) }) }) |