1 # Copyright (C) The Arvados Authors. All rights reserved.
3 # SPDX-License-Identifier: AGPL-3.0
7 class BundlerVersionTest < ActionDispatch::IntegrationTest
8 test "Bundler version matches expectations" do
9 # The expected version range should be the latest that supports all the
10 # versions of Ruby we intend to support. This test checks that a developer
11 # doesn't accidentally update Bundler past that point.
12 expected = Gem::Dependency.new("", "~> 2.4.22")
13 actual = Bundler.gem_version
15 expected.match?("", actual),
16 "Bundler version #{actual} did not match #{expected}",