spec/spec_helper.rb in kamerling-0.0.2 vs spec/spec_helper.rb in kamerling-0.0.3

- old
+ new

@@ -1,28 +1,25 @@ require 'bundler/setup' require 'minitest/autorun' require 'minitest/focus' require 'minitest/pride' require 'bogus/minitest/spec' -require 'net/http' require 'rack/test' require 'kamerling' Bogus.configure { |config| config.search_modules << Kamerling } module Minitest class Spec include Rack::Test::Methods module DSL - def fakes *args - args.map { |arg| fake arg } + def fakes(*args) + args.map { |arg| fake(arg) } end end end end -Thread.abort_on_exception = true - def run_all_threads - sleep 0.001 + 2.times { Thread.list.each(&:run) } end