Skip to content

Commit

Permalink
pr feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
juan-fernandez committed Oct 8, 2021
1 parent 7788568 commit 7f42039
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/datadog/ci/contrib/cucumber/formatter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def on_test_case_started(event)
service: configuration[:service_name]
},
framework: Ext::FRAMEWORK,
framework_version: Gem.loaded_specs['cucumber'].version.to_s,
framework_version: Datadog::CI::Contrib::Cucumber::Integration.version.to_s,
test_name: event.test_case.name,
test_suite: event.test_case.location.file,
test_type: Ext::TEST_TYPE
Expand Down
2 changes: 1 addition & 1 deletion spec/datadog/ci/contrib/rspec/instrumentation_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def with_new_rspec_environment
expect(span.get_tag(Datadog::CI::Ext::Test::TAG_SPAN_KIND)).to eq(Datadog::CI::Ext::AppTypes::TEST)
expect(span.get_tag(Datadog::CI::Ext::Test::TAG_TYPE)).to eq(Datadog::CI::Contrib::RSpec::Ext::TEST_TYPE)
expect(span.get_tag(Datadog::CI::Ext::Test::TAG_FRAMEWORK)).to eq(Datadog::CI::Contrib::RSpec::Ext::FRAMEWORK)
expect(span.get_tag(Datadog::CI::Ext::Test::TAG_FRAMEWORK_VERSION)).to eq(Gem.loaded_specs['rspec'].version.to_s)
expect(span.get_tag(Datadog::CI::Ext::Test::TAG_FRAMEWORK_VERSION)).to eq(Datadog::CI::Contrib::RSpec::Integration.version.to_s)
expect(span.get_tag(Datadog::CI::Ext::Test::TAG_STATUS)).to eq(Datadog::CI::Ext::Test::Status::PASS)
end

Expand Down

0 comments on commit 7f42039

Please sign in to comment.