       resolveC()
 
       waitsFor ->
-        panel.refs.updateAllButton.style.display === 'none'
+        panel.refs.updateAllButton.style.display is 'none'
 
     it 'remains enabled and visible if not all updates succeed', ->
       panel.updateAll()

PackageManager = require '../lib/package-manager'
SettingsView = require '../lib/settings-view'

describe 'UpdatesPanel', ->
  panel = null
  settingsView = null
  packageManager = null

      resolveC()

      waitsFor ->
        panel.refs.updateAllButton.style.display is 'none'

    it 'becomes hidden if all updates succeed', ->
      expect(panel.refs.updateAllButton).not.toBeDisabled()
