docs: Update Minitest example to clarify it only works with Rails (#27311)

The example in the docs works with Rails but not plain minitest.

There are workarounds such as the [`m`](https://github.com/qrush/m) gem,
or adding ActiveSupport to a non-Rails project, but I feel they are
beyond the scope of the docs here.

Release Notes:

- N/A
This commit is contained in:
Andy Waite 2025-03-22 18:30:34 -04:00 committed by GitHub
parent 9f0b09007b
commit 352c71f8a6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -269,7 +269,7 @@ end
To run tests in your Ruby project, you can set up custom tasks in your local `.zed/tasks.json` configuration file. These tasks can be defined to work with different test frameworks like Minitest, RSpec, quickdraw, and tldr. Below are some examples of how to set up these tasks to run your tests from within your editor.
### Minitest
### Minitest with Rails
```json
[
@ -282,6 +282,8 @@ To run tests in your Ruby project, you can set up custom tasks in your local `.z
]
```
Note: Plain minitest does not support running tests by line number.
### RSpec
```json