spec/datadog/notifications_spec.rb in datadog-notifications-0.6.2 vs spec/datadog/notifications_spec.rb in datadog-notifications-0.6.3
- old
+ new
@@ -1,9 +1,8 @@
require 'spec_helper'
describe Datadog::Notifications do
-
subject { described_class.instance }
after { ActiveSupport::Notifications.unsubscribe(subscription) }
let!(:subscription) do
subject.subscribe('mock.perform') do |reporter, event|
@@ -27,7 +26,6 @@
expect(buffered).to eq([
'web.render:1|c|#custom:tag,env:test,host:test.host,status:200,method:GET',
'web.render.time:333|ms|#custom:tag,env:test,host:test.host,status:200,method:GET',
])
end
-
end