Skip to content

Instantly share code, notes, and snippets.

@zznq
Created October 23, 2013 20:30
Show Gist options
  • Save zznq/7126138 to your computer and use it in GitHub Desktop.
Save zznq/7126138 to your computer and use it in GitHub Desktop.
require 'zeus/rails'
class CustomPlan < Zeus::Rails
def test
RSpec.configuration.seed = rand 1..10_000
exit RSpec::Core::Runner.run(ARGV)
end
def after_fork
srand
super
end
end
Zeus.plan = CustomPlan.new
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment