Created
October 22, 2013 23:32
-
-
Save JonathonMA/7110014 to your computer and use it in GitHub Desktop.
Zeus fix for rails 4 minitest double test run issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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