Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
docs: Add example of Ruby plain minitest task (#27607)
Andy Waite500964a6fae7
diff --git a/docs/src/languages/ruby.md b/docs/src/languages/ruby.mdindex 44be3a8681c..6a94392704c 100644--- a/docs/src/languages/ruby.md+++ b/docs/src/languages/ruby.md@@ -299,7 +299,20 @@ 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.+### Minitest++Plain minitest does not support running tests by line number, only by name, so we need to use `$ZED_SYMBOL` instead:++```json+[+ {+ "label": "-Itest $ZED_RELATIVE_FILE -n /$ZED_SYMBOL/",+ "command": "bundle exec ruby",+ "args": ["-Itest", "$ZED_RELATIVE_FILE", "-n /$ZED_SYMBOL/"],+ "tags": ["ruby-test"]+ }+]+```### RSpec