Sha256: d86061952e0c2cad612efbe0450a010c2791343a12a5d8d84f854a715f385c23
Contents?: true
Size: 857 Bytes
Versions: 45
Compression:
Stored size: 857 Bytes
Contents
require 'rubygems' require 'minitest/unit' require 'flexmock/test_unit_integration' require 'minitest/autorun' require 'rake' require File.expand_path('../file_creation', __FILE__) require File.expand_path('../in_environment', __FILE__) class Rake::TestCase < MiniTest::Unit::TestCase include FlexMock::ArgumentTypes include FlexMock::MockContainer include InEnvironment include FileCreation include Rake::DSL class TaskManager include Rake::TaskManager end def setup @orig_PWD = Dir.pwd end def teardown flexmock_teardown Dir.chdir @orig_PWD end def ignore_deprecations Rake.application.options.ignore_deprecate = true yield ensure Rake.application.options.ignore_deprecate = false end end # workarounds for 1.8 $" << 'test/helper.rb' Test::Unit.run = true if Test::Unit.respond_to? :run=
Version data entries
45 entries across 32 versions & 4 rubygems