+4
−4
spec/logger_spec.rb
0 → 100644
+80
−0
Loading
Make the Logger testable by defining a LoggerCls and instantiating it as global Logger - allowing us to instantiate the LoggerCls separately in tests. Test the enabling/disabling of warnings.