Sha256: e90407735d605ba59cd3bfabeb7a474f0f93f2bf44d2f400a261249974d58682
Contents?: true
Size: 551 Bytes
Versions: 13
Compression:
Stored size: 551 Bytes
Contents
require 'mocha/deprecation' require 'mocha/integration/test_unit' require 'mocha/integration/mini_test' module Mocha module Integration def self.activate if [Integration::TestUnit, Integration::MiniTest].map(&:activate).none? Deprecation.warning("Test::Unit or MiniTest must be loaded *before* `require 'mocha/setup'`.") 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/setup'`.") end end end end
Version data entries
13 entries across 10 versions & 2 rubygems