Only need to mention factory_girl_rails once in the Gemfile.
Try to make the random-prioritization test more stable