Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SDTEST-1408] test that MAXIMUM_RUBY_VERSION is same for datadog and datadog-ci gems #278

Merged
merged 1 commit into from
Jan 2, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading