diff --git a/spec/stores/account-store-spec.coffee b/spec/stores/account-store-spec.coffee index b4e67a54f..a1e03283b 100644 --- a/spec/stores/account-store-spec.coffee +++ b/spec/stores/account-store-spec.coffee @@ -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()