spec/lib/integration/where_now_spec.rb in pubnub-3.7.0 vs spec/lib/integration/where_now_spec.rb in pubnub-3.7.1
- old
+ new
@@ -8,17 +8,17 @@
@response_output = StringIO.new
@message_output = StringIO.new
@callback = lambda { |envelope|
- $logger.debug 'FIRING CALLBACK FROM TEST'
+ Pubnub.logger.debug 'FIRING CALLBACK FROM TEST'
@response_output.write envelope.response
@message_output.write envelope.msg
@after_callback = true
}
@error_callback = lambda { |envelope|
- $logger.debug 'FIRING ERROR CALLBACK FROM TEST'
+ Pubnub.logger.debug 'FIRING ERROR CALLBACK FROM TEST'
@response_output.write envelope.response
@message_output.write envelope.msg
@after_error_callback = true
}