Skip to content

Commit 7fa4cec

Browse files
authored
Merge pull request #278 from DataDog/anmarchenko/test_maximum_ruby_version
[SDTEST-1408] test that MAXIMUM_RUBY_VERSION is same for datadog and datadog-ci gems
2 parents 4f866f9 + 0cd033f commit 7fa4cec

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

spec/datadog/ci/release_gem_spec.rb

+9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
RSpec.describe "gem release process" do
22
context "datadog-ci.gemspec" do
3+
context "maximum Ruby version" do
4+
it "is the same as for gem datadog" do
5+
datadog_version = ::Datadog::VERSION::MAXIMUM_RUBY_VERSION
6+
datadog_ci_version = ::Datadog::CI::VERSION::MAXIMUM_RUBY_VERSION
7+
8+
expect(datadog_ci_version).to eq(datadog_version)
9+
end
10+
end
11+
312
context "files" do
413
subject(:files) { Gem::Specification.load("datadog-ci.gemspec").files }
514

0 commit comments

Comments
 (0)