       jasmine.unspy atom.workspaceView, 'trigger'
       SettingsHelper.clearCurrentCore()
       SettingsHelper.clearCredentials()
+
+    it 'tests one firmware file', ->
+      SettingsHelper.setCredentials 'foo@bar.baz', '0123456789abcdef0123456789abcdef'
+      SettingsHelper.setCurrentCore '0123456789abcdef0123456789abcdef', 'Foo'
+
+      SettingsHelper.clearCurrentCore()
+      SettingsHelper.clearCredentials()

{WorkspaceView} = require 'atom'
_s = require 'underscore.string'
SettingsHelper = require '../lib/utils/settings-helper'
SerialHelper = require '../lib/utils/serial-helper'
SpecHelper = require '../lib/utils/spec-helper'
SparkStub = require './stubs/spark'
spark = require 'spark'

describe 'Main Tests', ->
  activationPromise = null

        atom.project.setPath oldPath

        # Remove firmware files
        for file in fs.listSync(__dirname + '/data/sampleproject')
          if utilities.getFilenameExt(file).toLowerCase() == '.bin'
            fs.unlinkSync file
