aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/actions
diff options
context:
space:
mode:
authorFrankie <frankie.diamond@gmail.com>2017-01-31 07:57:49 +0800
committerGitHub <noreply@github.com>2017-01-31 07:57:49 +0800
commit82578538198de74955d7bc5cfd3c9a02d1b69a6d (patch)
treeaad1a62ee4ed4b7e34c0bd78b9f680dc2aeaaded /test/unit/actions
parentb6909574a7036c396ed85809cbd90aa2171b012f (diff)
parent0b9d37c6c8e714eb26bec5156e984a6b0cd268ad (diff)
downloadtangerine-wallet-browser-82578538198de74955d7bc5cfd3c9a02d1b69a6d.tar
tangerine-wallet-browser-82578538198de74955d7bc5cfd3c9a02d1b69a6d.tar.gz
tangerine-wallet-browser-82578538198de74955d7bc5cfd3c9a02d1b69a6d.tar.bz2
tangerine-wallet-browser-82578538198de74955d7bc5cfd3c9a02d1b69a6d.tar.lz
tangerine-wallet-browser-82578538198de74955d7bc5cfd3c9a02d1b69a6d.tar.xz
tangerine-wallet-browser-82578538198de74955d7bc5cfd3c9a02d1b69a6d.tar.zst
tangerine-wallet-browser-82578538198de74955d7bc5cfd3c9a02d1b69a6d.zip
Merge pull request #1069 from MetaMask/i1066
Introduce Preferences Controller
Diffstat (limited to 'test/unit/actions')
-rw-r--r--test/unit/actions/set_selected_account_test.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/actions/set_selected_account_test.js b/test/unit/actions/set_selected_account_test.js
index f72ca82e4..2dc42d2ec 100644
--- a/test/unit/actions/set_selected_account_test.js
+++ b/test/unit/actions/set_selected_account_test.js
@@ -31,7 +31,7 @@ describe('SHOW_ACCOUNT_DETAIL', function() {
it('updates metamask state', function() {
var initialState = {
metamask: {
- selectedAccount: 'foo'
+ selectedAddress: 'foo'
}
}
freeze(initialState)
@@ -43,6 +43,6 @@ describe('SHOW_ACCOUNT_DETAIL', function() {
freeze(action)
var resultingState = reducers(initialState, action)
- assert.equal(resultingState.metamask.selectedAccount, action.value)
+ assert.equal(resultingState.metamask.selectedAddress, action.value)
})
})