Permalink
Browse files

Allow MiniTest higher precedence when determining the framework.

  • Loading branch information...
1 parent da3f005 commit 508c5194bd8f77e668e4f670739aa5605c572c25 @metaskills metaskills committed Apr 9, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/m.rb
View
@@ -196,10 +196,10 @@ def suites
end
# Figure out what test framework we're using
- if defined?(Test)
- suites = Test::Unit::TestCase.test_suites
- elsif defined?(MiniTest)
+ if defined?(MiniTest)
suites = MiniTest::Unit::TestCase.test_suites
+ elsif defined?(Test)
+ suites = Test::Unit::TestCase.test_suites
else
not_supported
end

0 comments on commit 508c519

Please sign in to comment.