Skip to content

Conversation

@jamis
Copy link
Contributor

@jamis jamis commented Jan 26, 2026

A recent test is failing because the Rails constant is not responding to :version, as expected.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adjusts a failing spec by ensuring the Rails constant responds to :version before the test relies on it.

Changes:

  • Extend the guard condition in the around block to also stub Rails.version when Rails is defined but does not respond to :version.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jamis jamis merged commit 53f321f into mongodb:8.0-stable Jan 26, 2026
36 of 63 checks passed
@jamis jamis deleted the fix-failing-tests-8.0 branch January 26, 2026 21:33
@jamis jamis restored the fix-failing-tests-8.0 branch January 26, 2026 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants