Flowdock
method

_run_class_setup

Importance_0
Ruby on Rails latest stable (v5.2.3) - 0 notes - Class: ActiveSupport::Testing::Isolation

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.0.0.1) is shown here.

_run_class_setup() 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/isolation.rb, line 18
      def _run_class_setup      # class setup method should only happen in parent
        @@class_setup_mutex.synchronize do
          unless defined?(@@ran_class_setup) || ENV['ISOLATION_TEST']
            self.class.setup if self.class.respond_to?(:setup)
            @@ran_class_setup = true
          end
        end
      end
Register or log in to add new notes.