method

subscribe

Method not available on this version

This method is only available on newer versions. The first available version (v8.1.1) is shown here.

subscribe()
private

No documentation available.

# File activesupport/lib/active_support/testing/event_reporter_assertions.rb, line 66
            def subscribe
              return if @subscribed

              @mutex.synchronize do
                unless @subscribed
                  if ActiveSupport.event_reporter
                    ActiveSupport.event_reporter.subscribe(self)
                    @subscribed = true
                  else
                    raise Minitest::Assertion, "No event reporter is configured"
                  end
                end
              end
            end