Skip to content

Instantly share code, notes, and snippets.

@JonathonMA
Created October 22, 2013 23:32
Show Gist options
  • Save JonathonMA/7110014 to your computer and use it in GitHub Desktop.
Save JonathonMA/7110014 to your computer and use it in GitHub Desktop.
Zeus fix for rails 4 minitest double test run issue
require 'zeus/rails'
class CustomPlan < Zeus::Rails
def test_environment
require 'minitest/unit'
MiniTest::Unit.class_variable_set('@@installed_at_exit', true)
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