diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-11-22 11:40:30 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-11-22 11:40:58 +0800 |
commit | ced36eb20186b0f1bf0c744ac31a5b7804120065 (patch) | |
tree | b36c37132abd4dee19e580436622cf25dee4046a /test/unit/keyrings/simple-test.js | |
parent | ecfda5bcc54bc444f3620a18a561847d0d2634dd (diff) | |
download | tangerine-wallet-browser-ced36eb20186b0f1bf0c744ac31a5b7804120065.tar.gz tangerine-wallet-browser-ced36eb20186b0f1bf0c744ac31a5b7804120065.tar.zst tangerine-wallet-browser-ced36eb20186b0f1bf0c744ac31a5b7804120065.zip |
Improve Keyring organization
Separated public & private methods. (Fixes #845)
Made class method `type()` into a simple property. (Fixes #846)
Diffstat (limited to 'test/unit/keyrings/simple-test.js')
-rw-r--r-- | test/unit/keyrings/simple-test.js | 6 |
1 files changed, 3 insertions, 3 deletions
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) }) }) |