 temp = require('temp').track()
 {Notification} = require 'atom'
 NotificationElement = require '../lib/notification-element'
+NotificationIssue = require '../lib/notification-issue'
 
 describe "Notifications", ->
   [workspaceElement, activationPromise] = []

              packageResponse:
                repository: url: 'https://github.com/atom/sort-lines'
                releases: latest: '0.10.0'
            generateException()
            fatalError = notificationContainer.querySelector('atom-notification.fatal')
            waitsForPromise ->
              fatalError.getRenderPromise().then -> issueBody = fatalError.issue.issueBody


          beforeEach ->
            generateFakeAjaxResponses
              packageResponse:
                repository: url: 'https://github.com/someguy/somepackage'
                releases: latest: '0.10.0'
            spyOn(NotificationIssue.prototype, 'getPackageName').andCallFake -> "somepackage"
            spyOn(NotificationIssue.prototype, 'getRepoUrl').andCallFake -> "https://github.com/someguy/somepackage"
            generateException()
            fatalError = notificationContainer.querySelector('atom-notification.fatal')
            waitsForPromise ->
