Sha256: bae9bfaaba9cf0f39b0d837fd0ed0d146014d55a44228cce896d1294a0028608

Contents?: true

Size: 374 Bytes

Versions: 10

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

10 entries across 10 versions & 1 rubygems

Version Path
minitest-reporters-0.14.24 lib/minitest/old_activesupport_fix.rb
minitest-reporters-0.14.23 lib/minitest/old_activesupport_fix.rb
minitest-reporters-0.14.22 lib/minitest/old_activesupport_fix.rb
minitest-reporters-0.14.21 lib/minitest/old_activesupport_fix.rb
minitest-reporters-0.14.20 lib/minitest/old_activesupport_fix.rb
minitest-reporters-0.14.19 lib/minitest/old_activesupport_fix.rb
minitest-reporters-0.14.18 lib/minitest/old_activesupport_fix.rb
minitest-reporters-0.14.17 lib/minitest/old_activesupport_fix.rb
minitest-reporters-0.14.16 lib/minitest/old_activesupport_fix.rb
minitest-reporters-0.14.15 lib/minitest/old_activesupport_fix.rb