This project aims to enable MiniTest within the Rails TestCase classes. Your test will continue to inherit from
ActiveSupport::TestCase
, which will now support the spec DSL. Minitest on Github
This means you don't have to use Minitest::Spec
and can simply use ActiveSupport::TestCase
all the time to get some convention in your code.
Edit: When you don't use minitest-rails gem you have to register_spec_type
class ControllerSpec < MiniTest::Spec
end
# Functional tests = describe ***Controller
MiniTest::Spec.register_spec_type( /Controller$/, ControllerSpec )