Clone default keybindings in specs

This commit is contained in:
probablycorey
2013-11-15 13:32:31 -08:00
parent 8ed4923e58
commit dcccde8f3f

View File

@@ -52,7 +52,7 @@ beforeEach ->
else
atom.project = new Project(path.join(@specDirectory, 'fixtures'))
window.project = atom.project
atom.keymap.keyBindings = keyBindingsToRestore
atom.keymap.keyBindings = _.clone(keyBindingsToRestore)
window.resetTimeouts()
atom.packages.packageStates = {}