Sha256: b7f2557051c8d95b348962a5771b4320ce2a005b248351daed8a3d536adb1e0f

Contents?: true

Size: 343 Bytes

Versions: 9

Compression:

Stored size: 343 Bytes

Contents

module ActiveSupport #:nodoc:all
  class TestCase
    include Blueprints::Helper
    # Runs tests with blueprints support
    def run_with_blueprints(result, &progress_block)
      Blueprints.setup(self)
      run_without_blueprints(result, &progress_block)
      Blueprints.teardown
    end
    alias_method_chain :run, :blueprints
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
blueprints-1.0.1 lib/blueprints/extensions/test_unit.rb
blueprints-1.0.0 lib/blueprints/extensions/test_unit.rb
blueprints-0.9.0 lib/blueprints/extensions/test_unit.rb
blueprints-0.8.2 lib/blueprints/extensions/test_unit.rb
blueprints-0.8.1 lib/blueprints/extensions/test_unit.rb
blueprints-0.8.0 lib/blueprints/extensions/test_unit.rb
blueprints-0.7.3 lib/blueprints/extensions/test_unit.rb
blueprints-0.7.2 lib/blueprints/extensions/test_unit.rb
blueprints-0.7.1 lib/blueprints/extensions/test_unit.rb