spec/spec_helper.rb in datadog-notifications-0.4.5 vs spec/spec_helper.rb in datadog-notifications-0.4.6
- old
+ new
@@ -22,10 +22,10 @@
module Mock
class Reporter < Datadog::Notifications::Reporter
def timing(stat, ms, opts={}); super(stat, 333, opts); end
def flush_buffer; end
- alias :send_stat :send_to_buffer
+ @should_batch = true
end
class Instrumentable
def initialize(opts = {})
@opts = opts