Sha256: 54bd6bc04d1d3000dc6ffe7242a10c9911d529f90628f2714676fa121c328f99

Contents?: true

Size: 374 Bytes

Versions: 19

Compression:

Stored size: 374 Bytes

Contents

require "active_support/testing/setup_and_teardown"

module ActiveSupport
  module Testing
    module SetupAndTeardown
      module ForMinitest
        remove_method :run

        def before_setup
          super
          run_callbacks :setup
        end

        def after_teardown
          run_callbacks :teardown
          super
        end
      end
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
minitest-reporters-1.0.15 lib/minitest/old_activesupport_fix.rb
minitest-reporters-1.0.14 lib/minitest/old_activesupport_fix.rb
minitest-reporters-1.0.13 lib/minitest/old_activesupport_fix.rb
minitest-reporters-1.0.12 lib/minitest/old_activesupport_fix.rb
minitest-reporters-1.0.11 lib/minitest/old_activesupport_fix.rb
minitest-reporters-1.0.10 lib/minitest/old_activesupport_fix.rb
minitest-reporters-1.0.9 lib/minitest/old_activesupport_fix.rb
minitest-reporters-1.0.8 lib/minitest/old_activesupport_fix.rb
minitest-reporters-1.0.7 lib/minitest/old_activesupport_fix.rb
minitest-reporters-1.0.6 lib/minitest/old_activesupport_fix.rb
minitest-reporters-1.0.5 lib/minitest/old_activesupport_fix.rb
minitest-reporters-1.0.4 lib/minitest/old_activesupport_fix.rb
minitest-reporters-1.0.3 lib/minitest/old_activesupport_fix.rb
minitest-reporters-1.0.2 lib/minitest/old_activesupport_fix.rb
minitest-reporters-1.0.1 lib/minitest/old_activesupport_fix.rb
minitest-reporters-1.0.0 lib/minitest/old_activesupport_fix.rb
minitest-reporters-1.0.0.beta3 lib/minitest/old_activesupport_fix.rb
minitest-reporters-1.0.0.beta2 lib/minitest/old_activesupport_fix.rb
minitest-reporters-1.0.0.beta1 lib/minitest/old_activesupport_fix.rb