Created
October 14, 2011 16:21
-
-
Save safarista/1287571 to your computer and use it in GitHub Desktop.
Is there a reason why you would require then include a resource at the same time? i.e. Assertions
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 'test/unit/assertions' | |
module Test | |
module Unit | |
# remove silly TestCase class | |
remove_const(:TestCase) if defined?(self::TestCase) | |
class TestCase < MiniTest::Unit::TestCase | |
include Assertions | |
def self.test_order | |
:sorted | |
end | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment