From d5170251c0ce743a2a83d2026819bb9bd07b85ac Mon Sep 17 00:00:00 2001 From: Blade Barringer Date: Thu, 20 Oct 2016 17:11:28 -0500 Subject: [PATCH] fix: remove unneeded Math.random test --- test/common/libs/randomVal.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/test/common/libs/randomVal.js b/test/common/libs/randomVal.js index a604c63211..fc974a764e 100644 --- a/test/common/libs/randomVal.js +++ b/test/common/libs/randomVal.js @@ -21,14 +21,6 @@ describe('randomVal', () => { expect(result).to.be.oneOf([1, 2, 3, 4]); }); - it('uses Math.random to determine the property', () => { - sandbox.spy(Math, 'random'); - - randomVal(obj); - - expect(Math.random).to.be.calledOnce; - }); - it('can pass in a predictable random value', () => { sandbox.spy(Math, 'random');