Class: ActiveSupport::TestCase

Inherits:
Object
  • Object
show all
Includes:
Blueprints::Helper
Defined in:
lib/blueprints/extensions/test_unit.rb

Instance Method Summary collapse

Methods included from Blueprints::Helper

#build, #build!, #build_attributes, #build_with, #d, #demolish

Instance Method Details

#run_with_blueprints(result, &progress_block) ⇒ Object

Runs tests with blueprints support



5
6
7
8
9
# File 'lib/blueprints/extensions/test_unit.rb', line 5

def run_with_blueprints(result, &progress_block)
  Blueprints.setup(self)
  run_without_blueprints(result, &progress_block)
  Blueprints.teardown
end