Skip to content

Add spec to load path when running Minitest specs #3500

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

vinistock
Copy link
Member

@vinistock vinistock commented May 16, 2025

Motivation

When running Minitest spec files that are under the spec directory, we have to add spec instead of test to the load path.

Implementation

Started checking the paths to add the right directory to the load path.

Automated Tests

Added tests.

Copy link
Member Author

vinistock commented May 16, 2025


How to use the Graphite Merge Queue

Add the label graphite-merge to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@vinistock vinistock self-assigned this May 16, 2025
@vinistock vinistock added server This pull request should be included in the server gem's release notes bugfix This PR will fix an existing bug labels May 16, 2025 — with Graphite App
@vinistock vinistock marked this pull request as ready for review May 16, 2025 19:21
@vinistock vinistock requested a review from a team as a code owner May 16, 2025 19:21
@vinistock vinistock merged commit f57377d into main May 20, 2025
46 checks passed
@vinistock vinistock deleted the 05-15-add_spec_to_load_path_when_running_minitest_specs branch May 20, 2025 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix This PR will fix an existing bug server This pull request should be included in the server gem's release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants