From 06b69795b4969fd83fe79c7488375a32f52adaf7 Mon Sep 17 00:00:00 2001 From: Justin Tormey Date: Thu, 7 Apr 2016 14:59:06 -0400 Subject: [PATCH] test(RNG): fix failing test in rng module --- tests/rng_spec.js.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/rng_spec.js.coffee b/tests/rng_spec.js.coffee index 1f7a28d6b..d84b92920 100644 --- a/tests/rng_spec.js.coffee +++ b/tests/rng_spec.js.coffee @@ -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)