Skip to content

Commit

Permalink
Fix random test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
ezr-ondrej committed Dec 6, 2020
1 parent 1f721dd commit 05045d9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
require 'mocha/minitest'
require 'smart_proxy_for_testing'

# initialize the logger prior testing
# it uses Dir.glob, that we want to stub in some tests
# if those tests run first, it throws unexpected invocation of Dir.glob
::Proxy::LogBuffer::Decorator.instance

module Minitest
# Modifications to allow a 'test 'nameoftest' do' syntax
class Test
Expand Down

0 comments on commit 05045d9

Please sign in to comment.