alphagov/whitehall — comment on commit 74dfc3cccf0d5058a3a6cc3399f74c9ae56e742c
File:  line 0
By floehopper:

I just meant that you could stub `Kernel#rand` or whatever you use to generate the randomness, but James A's solution would be fine too.