fix: remove unneeded Math.random test

This commit is contained in:
Blade Barringer
2016-10-20 17:11:28 -05:00
parent c9ba9054e3
commit d5170251c0

View File

@@ -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');