Skip to content
Open
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
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ gemspec
ar_version = ENV.fetch("AR_VERSION", "~> 7.1.0")
gem "activerecord", ar_version
gem "ostruct"
gem "minitest", "~> 5.25.0"
gem "minitest", "~> 6.0.0"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

Updating minitest to version 6.0 introduces breaking changes that will likely cause your test suite to fail.

Minitest v6 no longer loads Minitest::Spec by default. Your tests in test/activerecord_spanner_adapter/connection_mock_server_test.rb use the describe syntax, which is part of Minitest::Spec.

To fix this, you'll need to explicitly require minitest/spec in your test helper file (test/test_helper.rb).

# In test/test_helper.rb
require "minitest/spec"

Without this change, you'll likely see NoMethodError: undefined method 'describe' for SpannerMockServerConnectionTest:Class errors when running your tests.

gem "minitest-rg", "~> 5.3.0"
gem "pry", "~> 0.14.2"
gem "pry-byebug", "~> 3.11.0"
Expand Down