💄 simplify assignment using coffeescript magic

This commit is contained in:
Ivan Zuzak 2014-08-28 19:42:59 +02:00
parent 776a8e935a
commit 861dff107a

View File

@ -6,7 +6,7 @@ describe "ContextMenuManager", ->
[contextMenu] = []
beforeEach ->
resourcePath = atom.getLoadSettings().resourcePath
{resourcePath} = atom.getLoadSettings()
contextMenu = new ContextMenuManager({resourcePath})
describe "adding definitions", ->