Flowdock
method

included

Importance_0
v2.3.8 - Show latest stable - 0 notes - Class: ActiveSupport::Testing::SetupAndTeardown
included(base) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/testing/setup_and_teardown.rb, line 6
      def self.included(base)
        base.class_eval do
          include ActiveSupport::Callbacks
          define_callbacks :setup, :teardown

          if defined?(MiniTest::Assertions) && TestCase < MiniTest::Assertions
            include ForMiniTest
          else
            include ForClassicTestUnit
          end
        end
      end
Register or log in to add new notes.