```coffeescript
{$} = require 'atom-space-pen-views'
PackageManager = require '../lib/package-manager'
Q = require 'q'

describe "package updates status view", ->
  beforeEach ->
    outdatedPackage =
      name: 'out-dated'
    spyOn(PackageManager.prototype, 'loadCompatiblePackageVersion').andCallFake ->
    spyOn(PackageManager.prototype, 'getOutdated').andCallFake -> Q([outdatedPackage])
    jasmine.attachToDOM(atom.views.getView(atom.workspace))

    waitsForPromise ->
      atom.packages.activatePackage('status-bar')

    waitsForPromise ->
      atom.packages.activatePackage('settings-view')

    runs ->
      atom.packages.emitter.emit('did-activate-all')

  describe "when packages are outdated", ->
    it "adds a tile to the status bar", ->
      expect($('status-bar .package-updates-status-view').text()).toBe '1'
```

Update spec for new status bar label
user
```coffeescript
{$} = require 'atom-space-pen-views'
PackageManager = require '../lib/package-manager'
Q = require 'q'

describe "package updates status view", ->
  beforeEach ->
    outdatedPackage =
      name: 'out-dated'
    spyOn(PackageManager.prototype, 'loadCompatiblePackageVersion').andCallFake ->
    spyOn(PackageManager.prototype, 'getOutdated').andCallFake -> Q([outdatedPackage])
    jasmine.attachToDOM(atom.views.getView(atom.workspace))

    waitsForPromise ->
      atom.packages.activatePackage('status-bar')

    waitsForPromise ->
      atom.packages.activatePackage('settings-view')

    runs ->
      atom.packages.emitter.emit('did-activate-all')

  describe "when packages are outdated", ->
    it "adds a tile to the status bar", ->
      expect($('status-bar .package-updates-status-view').text()).toBe '1 update!'
```
assistant