# File lib/mocha/integration.rb, line 7 def self.activate if [Integration::TestUnit, Integration::MiniTest].map(&:activate).none? Deprecation.warning("Test::Unit or MiniTest must be loaded *before* Mocha.") Deprecation.warning("If you're integrating with a test library other than Test::Unit or MiniTest, you should use `require 'mocha/api'` instead of `require 'mocha'`.") end end
Generated with the Darkfish Rdoc Generator 2.