mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Fix broken test
This commit is contained in:
parent
c02854c9d8
commit
a904427531
1 changed files with 1 additions and 1 deletions
|
@ -728,7 +728,7 @@ describe "RecurlyWrapper", ->
|
||||||
describe 'when the account does not exist', ->
|
describe 'when the account does not exist', ->
|
||||||
|
|
||||||
beforeEach ->
|
beforeEach ->
|
||||||
@apiRequest.callsArgWith(1, new Error('not found'), {statusCode: 404}, '')
|
@apiRequest.callsArgWith(1, null, {statusCode: 404}, '')
|
||||||
|
|
||||||
it 'should not produce an error', (done) ->
|
it 'should not produce an error', (done) ->
|
||||||
@call (err, result) =>
|
@call (err, result) =>
|
||||||
|
|
Loading…
Reference in a new issue