# ruby: Remove outline for running tests \(\#12642\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/a6007998406e961785826477003742735cfab389)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: a6007998406e961785826477003742735cfab389

Requested commit: a6007998406e961785826477003742735cfab389

Commit: a6007998406e961785826477003742735cfab389

Tree: d34c2fa9070eb0bc1c03371eb13f831485341c11

Author: Vitaly Slobodin

Committer: GitHub

## Message

````
ruby: Remove outline for running tests (#12642)

Hi, this pull request superseeds the
https://github.com/zed-industries/zed/pull/12624
and removes queries for runnables from `outline.scm`. This pull request
has couple things to mention:

- Removed task for running tests with `minitest` as I think it's not
reliable in its state because, AFAIK, the only way to run `minitest`
with the specific line, i.e. `bundle exec rake test
spec/models/some_model.rb:12` is to use it with Rails. The support for
`minitest` is still there and users can add their own task, for
instance, when they use `minitest` in Rails to get support for running
tests:

  ```json
  {
    "label": "test $ZED_RELATIVE_FILE:$ZED_ROW",
    "command": "./bin/rails",
    "args": ["test", "\"$ZED_RELATIVE_FILE:$ZED_ROW\""],
    "tags": ["minitest-test"]
  }
  ```

**Question:** Perhaps that should be mentioned in the Ruby extension
documentation?

- Adjusted runnables queries to work without `ZED_SYMBOL`.

Release Notes:

- N/A
````

## Parents

- [05b658114750e9b63717ec3d05b316a927d8378e](https://git.cafe/gitcafe/zed/commit/05b658114750e9b63717ec3d05b316a927d8378e?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/a6007998406e961785826477003742735cfab389?format=markdown)
