re: ```sample``` if the intent is to get coverage around both cases, i think it should be explicit, otherwise if the intent is to be random srand can be used with the rspec seed for reproducable results.
```srand RSpec.configuration.seed```
https://www.relishapp.com/rspec/rspec-core/docs/command-line/randomization-can-be-reproduced-across-test-runs