Last active
January 2, 2016 19:19
-
-
Save juanghurtado/8349246 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
it "triggers 'error' event on Device API error", (done) -> | |
mockDeviceStorageThrowingError() | |
certs = Bus.reqres.request "entities:certificates" | |
certs.on "error", -> | |
expect(1).to.equal 1 | |
done() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment