From 35a7bb115d16b655d044778ff42b95db15e67a64 Mon Sep 17 00:00:00 2001 From: Corey Johnson Date: Tue, 3 Jun 2014 10:44:13 -0700 Subject: [PATCH] Fix context-menu specs --- spec/context-menu-manager-spec.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/context-menu-manager-spec.coffee b/spec/context-menu-manager-spec.coffee index cce4ca2e2..a414f97e7 100644 --- a/spec/context-menu-manager-spec.coffee +++ b/spec/context-menu-manager-spec.coffee @@ -15,7 +15,7 @@ describe "ContextMenuManager", -> 'label': 'command' expect(contextMenu.definitions['.selector'][0].label).toEqual 'label' - expect(contextMenu.definitions['.selector'][0].commandOrSubmenu).toEqual 'command' + expect(contextMenu.definitions['.selector'][0].command).toEqual 'command' it "loads submenus", -> contextMenu.add 'file-path', @@ -33,7 +33,7 @@ describe "ContextMenuManager", -> , devMode: true expect(contextMenu.devModeDefinitions['.selector'][0].label).toEqual 'label' - expect(contextMenu.devModeDefinitions['.selector'][0].commandOrSubmenu).toEqual 'command' + expect(contextMenu.devModeDefinitions['.selector'][0].command).toEqual 'command' describe "building a menu template", -> beforeEach ->