           expect(issueBody).toContain '**Thrown From**: Atom Core'
           expect(issueBody).not.toContain 'cc @atom/core'
 
-          expect($.ajax.mostRecentCall.args[0]).toContain 'atom/atom'
+          expect($.ajax.calls[0].args[0]).toContain 'atom/atom'
+          expect($.ajax.calls[1].args[0]).toContain 'git.io'
 
         it "contains core and editor config values", ->
           notificationContainer = workspaceElement.querySelector('atom-notifications')

          expect(button.getAttribute('href')).toBe 'http://url.com/ok'
          fatalNotification = fatalError.querySelector('.fatal-notification')
          expect(fatalNotification.textContent).toContain 'already been reported'
          expect($.ajax.mostRecentCall.args[0]).toContain 'atom/notifications'

      describe "when a BufferedProcessError is thrown", ->
        it "adds an error to the notifications", ->

          expect(button.textContent).toContain 'Create issue'
          fatalNotification = fatalError.querySelector('.fatal-notification')
          expect(fatalNotification.textContent).toContain 'You can help by creating an issue'
          expect(button.getAttribute('href')).toContain 'git.io'

      describe "when the error has been reported", ->
        beforeEach ->
          spyOn(atom, 'inDevMode').andReturn false
          $.ajax.andCallFake (url, settings) ->
            if url.indexOf('git.io') > -1
              settings.success('--', '201', {getResponseHeader: -> 'http://git.io/cats'})
            else
              settings.success
                items: [
                  {
                    title: 'ReferenceError: a is not defined'
                    html_url: 'http://url.com/ok'
                  }
                ]
          try
            a + 1
          catch e
