DEV: Fix FakeLogger spec issues (#12397)

* DEV: Add `#level` and `#level=` to `FakeLogger`

* DEV: Fix a leaky test
This commit is contained in:
Jarek Radosz
2021-03-15 05:36:10 +01:00
committed by GitHub
parent 5c84f702b0
commit 303d2227cc
2 changed files with 18 additions and 11 deletions

View File

@@ -2,6 +2,7 @@
class FakeLogger
attr_reader :warnings, :errors, :infos, :fatals
attr_accessor :level
def initialize
@warnings = []