fix(spec): remove obsolete account store spec

This commit is contained in:
Evan Morikawa 2016-05-19 11:59:02 -07:00
parent bf9052391f
commit b8adb922e3

View file

@ -122,7 +122,6 @@ describe "AccountStore", ->
"organization_unit": "label"
@instance = new @constructor
spyOn(NylasEnv.config, "set")
spyOn(Actions, 'focusDefaultMailboxPerspectiveForAccounts')
spyOn(@instance, "trigger")
@instance.addAccountFromJSON(@json)
@ -139,9 +138,6 @@ describe "AccountStore", ->
# Version must be updated last since it will trigger other windows to load nylas.accounts
expect(NylasEnv.config.set.calls[2].args).toEqual(['nylas.accountsVersion', 1])
it "selects the account", ->
expect(Actions.focusDefaultMailboxPerspectiveForAccounts).toHaveBeenCalledWith(["B"])
it "triggers", ->
expect(@instance.trigger).toHaveBeenCalled()