Module: Minitest::OpenAPI::RunPatch

Defined in:
lib/minitest/openapi/hooks.rb

Instance Method Summary collapse

Instance Method Details

#run(*args) ⇒ Object



8
9
10
11
12
13
14
# File 'lib/minitest/openapi/hooks.rb', line 8

def run(*args)
  result = super
  if ENV['OPENAPI'] && self.class.openapi?
    # This will run before specs
  end
  result
end