module MiniTestSpecRails::Init::ActiveSupportBehavior

def self.included(klass)

def self.included(klass)
  klass.class_eval do
    extend MiniTest::Spec::DSL
    include MiniTestSpecRails::DSL
    register_spec_type(self) { |desc| Class === desc && desc < ActiveRecord::Base if defined?(ActiveRecord::Base) }
    register_rails_test_case self
  end
end