spec/unit/modules/event_emitter_spec.rb in ably-0.8.5 vs spec/unit/modules/event_emitter_spec.rb in ably-0.8.6

- old
+ new

@@ -5,10 +5,12 @@ let(:klass) do callback_opts = options Class.new do include Ably::Modules::EventEmitter configure_event_emitter callback_opts - def logger; end + def logger + @logger ||= Ably::Models::NilLogger.new + end end end let(:obj) { double('example') } let(:msg) { double('message') }