Sha256: 3ad56c56f8c165e6fd342c93955ff77a48247c5653be49aee7589755e5bfcbe9
Contents?: true
Size: 787 Bytes
Versions: 1
Compression:
Stored size: 787 Bytes
Contents
# encoding: utf-8 if ENV['COVERAGE'] == 'true' require 'simplecov' require 'coveralls' SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[ SimpleCov::Formatter::HTMLFormatter, Coveralls::SimpleCov::Formatter ] SimpleCov.start do command_name 'spec:unit' add_filter 'config' add_filter 'spec' end end require 'hatetepe' require 'weakref' require 'awesome_print' require 'devtools/spec_helper' RSpec.configure do |config| config.include(SpecHelper) config.around do |example| stop = proc do EM.stop EM.next_tick {} end EM.run do EM.add_timer(0.5) do stop.call fail 'Example timed out' end Fiber.new do example.call stop.call end.resume end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hatetepe-0.6.0.pre.2 | spec/spec_helper.rb |