Skip to content

Instantly share code, notes, and snippets.

@bibstha
Last active July 19, 2022 11:35
Show Gist options
  • Save bibstha/e432d746a7e868109d151693770f1e1d to your computer and use it in GitHub Desktop.
Save bibstha/e432d746a7e868109d151693770f1e1d to your computer and use it in GitHub Desktop.
Run rails test inside docker container using vimtest
let g:test#ruby#rails#executable = 'docker compose run -ti --rm backend-test rails test'
# Replace backend-test with the name of the service.
You wouldn't want to run it in the main service because it ends up using the resetting development database.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment