Skip to content
This repository has been archived by the owner on Mar 7, 2023. It is now read-only.

Commit

Permalink
test(RNG): fix failing test in rng module
Browse files Browse the repository at this point in the history
  • Loading branch information
jtormey committed Apr 7, 2016
1 parent 86665fe commit 06b6979
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/rng_spec.js.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ describe "RNG", ->
RNG.getServerEntropy(32)
expect(request.open).toHaveBeenCalled()
expect(request.open.calls.argsFor(0)[0]).toEqual("GET")
expect(request.open.calls.argsFor(0)[1]).toContain("api.blockchain.info")
expect(request.open.calls.argsFor(0)[1]).toContain("v2/randombytes")

it "returns a buffer is successful", ->
res = RNG.getServerEntropy(32)
Expand Down

0 comments on commit 06b6979

Please sign in to comment.