Skip to content

Instantly share code, notes, and snippets.

@macowie
Created June 6, 2020 20:01
Show Gist options
  • Save macowie/4a82469cd8834fc94a6ce7bb1e05dc98 to your computer and use it in GitHub Desktop.
Save macowie/4a82469cd8834fc94a6ce7bb1e05dc98 to your computer and use it in GitHub Desktop.
SublimeText Build - Terminus - RSpec
{
"cmd": ["rspec"],
"file_regex": "# ([A-Za-z:0-9_./ ]+rb):([0-9]+)",
"working_dir": "${project_path}",
"selector": "source.ruby.rspec",
"target": "terminus_exec",
"env": {
"RAILS_SYSTEM_TESTING_SCREENSHOT": "inline"
},
"variants": [
{
"name": "(Current File)",
"cmd": ["rspec", "-I ${file_path}", "$file"],
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment