lib/ae/adapter.rb in ae-1.7.0 vs lib/ae/adapter.rb in ae-1.7.1
- old
+ new
@@ -1,7 +1,8 @@
-if defined?(::Test::Unit)
- require 'ae/adapters/testunit'
-elsif defined?(::MiniTest)
+if defined?(::MiniTest)
require 'ae/adapters/minitest'
-elsif defined?(::Spec)
+elsif defined?(::Test::Unit)
+ require 'ae/adapters/testunit'
+elsif defined?(::RSpec)
require 'ae/adapters/rspec'
end
+