Permalink
Browse files

Merge pull request #12 from metaskills/minitest-spec-rails

Allow MiniTest higher precedence when determining the framework. Fixes #11.
  • Loading branch information...
2 parents 1b33c65 + 508c519 commit 89b6bd160c80a326cd364392eeb4fcf87d9ee106 @qrush committed Jul 31, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/m.rb
View
6 lib/m.rb
@@ -223,10 +223,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 89b6bd1

Please sign in to comment.