1
0
mirror of https://github.com/onkelbeh/cheatsheets.git synced 2026-08-15 13:34:53 +02:00

jasmine: fix copypasta

This commit is contained in:
Rico Sta. Cruz
2015-10-30 19:35:10 +11:00
parent 3d67b23fc1
commit a5eac65805

View File

@@ -61,8 +61,8 @@ layout: default
stub = jasmine.createSpy('stub')
stub("hello")
expect(whatAmI.identity).toEqual("stub")
expect(whatAmI).toHaveBeenCalled()
expect(stub.identity).toEqual("stub")
expect(stub).toHaveBeenCalled()
### Async