rails-run-spec-vscode
rails-run-spec-vscode copied to clipboard
Allow run file specs to work with nested apps
This allows VS Code projects with multiple app
directories (e.g rails engines etc), or rails apps that are not at the root of the project, to work.
It introduces the assumption that the rails root is called "app", and that this may not be the first entry in the path.
For example:
core/app/...
core/spec/...
microservice_A/app/...
microservice_A/spec/...
Would love to see this merged! It's very useful for Rails engines.
I'm going to fork and publish this patch, because I use this shortcut constantly and need it.