Skip to content

Commit

Permalink
Merge pull request #278 from DataDog/anmarchenko/test_maximum_ruby_ve…
Browse files Browse the repository at this point in the history
…rsion

[SDTEST-1408] test that MAXIMUM_RUBY_VERSION is same for datadog and datadog-ci gems
  • Loading branch information
anmarchenko authored Jan 2, 2025
2 parents 4f866f9 + 0cd033f commit 7fa4cec
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions spec/datadog/ci/release_gem_spec.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
RSpec.describe "gem release process" do
context "datadog-ci.gemspec" do
context "maximum Ruby version" do
it "is the same as for gem datadog" do
datadog_version = ::Datadog::VERSION::MAXIMUM_RUBY_VERSION
datadog_ci_version = ::Datadog::CI::VERSION::MAXIMUM_RUBY_VERSION

expect(datadog_ci_version).to eq(datadog_version)
end
end

context "files" do
subject(:files) { Gem::Specification.load("datadog-ci.gemspec").files }

Expand Down

0 comments on commit 7fa4cec

Please sign in to comment.