 
 path = require 'path'
 fs = require 'fs'
+_ = require 'lodash'
 
 describe 'Kernel manager', ->
     firstKernelSpecString = '''{

    kernelSpecs.kernelspecs.python2 = secondKernelSpec.kernelspecs.python2
    kernelSpecsString = JSON.stringify kernelSpecs

    kernelManager = null

    beforeEach ->
        kernelManager = new KernelManager()
        atom.config.set 'Hydrogen.kernelspec', ''

    describe 'getKernelSpecsFromSettings', ->
        it 'should parse kernelspecs from settings', ->

                    resolve()

    it 'should read lower case name from grammar', ->
        expect(kernelManager.getLanguageFor mockGrammar)
            .toEqual('grammarlanguage')

    it 'should update kernelspecs', ->
        waitsForPromise -> new Promise (resolve, reject) ->
