We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da07974 commit d172bf5Copy full SHA for d172bf5
spec/datadog/di/probe_notifier_worker_spec.rb
@@ -24,6 +24,16 @@
24
allow(settings).to receive(:env)
25
allow(settings).to receive(:service)
26
allow(settings).to receive(:version)
27
+
28
+ # git ddtags
29
+ allow(settings).to receive(:git).and_return(git_settings)
30
+ end
31
32
+ let(:git_settings) do
33
+ double('git settings').tap do |settings|
34
+ allow(settings).to receive(:repository_url).and_return(nil)
35
+ allow(settings).to receive(:commit_sha).and_return(nil)
36
37
end
38
39
let(:agent_settings) do
0 commit comments