Sha256: be98a83b4a7e1835b8dc1ab788e5716f47828d6cb4805b4d6eb0cf5a2588f7f4
Contents?: true
Size: 807 Bytes
Versions: 2
Compression:
Stored size: 807 Bytes
Contents
require 'rspec' require 'timeout' require 'asynchronous' RSpec.configure do |config| config.expect_with :rspec do |expectations| expectations.include_chain_clauses_in_custom_matcher_descriptions = true end config.mock_with :rspec do |mocks| mocks.verify_partial_doubles = true end config.shared_context_metadata_behavior = :apply_to_host_groups end Kernel.at_exit do if Asynchronous::ZombiKiller::MOTHER_PID == $PROCESS_ID begin loop { Process.kill('KILL', Process.wait(-1, Process::WUNTRACED)) } rescue Errno::ESRCH, Errno::ECHILD puts 'done' end end end class ExampleCustomClassForValue attr_reader :a def initialize(a) @a = a end end BOOTSTRAP_FILE_PATH = File.expand_path(File.join(File.dirname(__FILE__), '..', 'examples', 'bootstrap.rb'))
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
asynchronous-4.0.1 | spec/spec_helper.rb |
asynchronous-4.0.0 | spec/spec_helper.rb |