Class: Test::Unit::TestCase

Inherits:
Object
  • Object
show all
Includes:
Mack::Testing
Defined in:
lib/mack-orm/test_extensions.rb

Overview

:nodoc:

Instance Method Summary collapse

Methods included from Mack::Testing

#rollback_transaction

Instance Method Details

#run(result, &progress_block) ⇒ Object

We need to wrap the run method so we can do things like run a cleanup method if it exists



68
69
70
71
72
# File 'lib/mack-orm/test_extensions.rb', line 68

def run(result, &progress_block) # :nodoc:
  rollback_transaction do
    mack_test_case_run(result, &progress_block)
  end
end