mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Fix FakeLogger spec issues (#12397)
* DEV: Add `#level` and `#level=` to `FakeLogger` * DEV: Fix a leaky test
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
class FakeLogger
|
||||
attr_reader :warnings, :errors, :infos, :fatals
|
||||
attr_accessor :level
|
||||
|
||||
def initialize
|
||||
@warnings = []
|
||||
|
||||
Reference in New Issue
Block a user