           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'
+          expect($.ajax.calls[0].args[0]).toContain 'atom/notifications'
 
       describe "when a BufferedProcessError is thrown", ->
         it "adds an error to the notifications", ->

      describe "when the error has not been reported", ->
        beforeEach ->
          spyOn(atom, 'inDevMode').andReturn false
          $.ajax.andCallFake (url, settings) -> settings.success(items: [])
          try
            a + 1
          catch e

          expect(issueBody).toContain '**Thrown From**: Atom Core'
          expect(issueBody).not.toContain 'cc @atom/core'

          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')
