1 # Copyright (C) The Arvados Authors. All rights reserved.
3 # SPDX-License-Identifier: AGPL-3.0
7 class GemfileLockTest < ActionDispatch::IntegrationTest
8 # Like the assertion message says, refer to Gemfile for this test's
9 # rationale. This test can go away once we start supporting Ruby 3.4+.
10 test "base64 gem is not locked to a specific version" do
11 gemfile_lock_path = Rails.root.join("Gemfile.lock")
12 File.open(gemfile_lock_path) do |f|
14 f.each_line.any?(/^\s*base64\s+\(/),
16 "Gemfile.lock includes a specific version of base64 - revert and refer to the comments in Gemfile",