Skip to content

Commit 4084688

Browse files
committed
clean up Datadog stuff
1 parent 23844a0 commit 4084688

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

spec/datadog_spec.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
require 'yake/datadog'
2+
13
RSpec.describe Yake::Datadog::DSL do
24
let(:event) { { fizz: 'buzz' } }
35
let(:runtime_class) { Class.new { extend Yake::Datadog::DSL } }
@@ -6,7 +8,6 @@
68
let(:context) { context_class.new('<requestId>', '<functionName>', '<invokedFunctionArn>', 128) }
79

810
before do
9-
runtime_class.logging :off
1011
require 'aws-sdk-core'
1112
Datadog::Lambda.configure_apm { |c| c.tracing.instrument :aws }
1213
end

spec/spec_helper.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,8 @@
88
require 'base64'
99

1010
require 'yake/api'
11-
require 'yake/datadog'
1211
require 'yake/support'
1312

14-
ENV['DD_LOG_LEVEL'] = 'WARN'
15-
Datadog.configure { |c| c.tracing.enabled = true }
16-
1713
RSpec.configure do |config|
1814
# Enable flags like --only-failures and --next-failure
1915
config.example_status_persistence_file_path = '.rspec_status'

0 commit comments

Comments
 (0)