Sha256: 9e798aead7a27b9008d34bc61cfdd4fac14193744f34d76bd031775509c0f02e
Contents?: true
Size: 563 Bytes
Versions: 5
Compression:
Stored size: 563 Bytes
Contents
# frozen_string_literal: true require 'bundler/setup' require 'fileutils' require_relative './eg' require_relative './coverage' if ENV['COVERAGE'] require 'minitest/autorun' require 'minitest/reporters' require 'polyphony' ::Exception.__disable_sanitized_backtrace__ = true Minitest::Reporters.use! [ Minitest::Reporters::SpecReporter.new ] class MiniTest::Test def teardown # wait for any remaining scheduled work Gyro.run Polyphony.reset! end end module Kernel def capture_exception yield rescue Exception => e e end end
Version data entries
5 entries across 5 versions & 2 rubygems
Version | Path |
---|---|
polyphony-http-0.24 | test/helper.rb |
polyphony-0.26 | test/helper.rb |
polyphony-0.25 | test/helper.rb |
polyphony-0.24 | test/helper.rb |
polyphony-0.23 | test/helper.rb |