method

_run_class_setup

Importance_0
v4.2.9 - Show latest stable - 0 notes - Class: ActiveSupport::Testing::Isolation
_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 20
      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.