Skip to content

Commit

Permalink
test that MAXIMUM_RUBY_VERSION is same for datadog and datadog-ci gems
Browse files Browse the repository at this point in the history
  • Loading branch information
anmarchenko committed Jan 2, 2025
1 parent 4f866f9 commit 0cd033f
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 0cd033f

Please sign in to comment.