Skip to content

Instantly share code, notes, and snippets.

@relwell
Created June 25, 2019 20:02
Show Gist options
  • Save relwell/d79e39eb68491cb90291f4ed14c61393 to your computer and use it in GitHub Desktop.
Save relwell/d79e39eb68491cb90291f4ed14c61393 to your computer and use it in GitHub Desktop.
Run rspec on all changed spec files at once
#!/bin/bash -e
bundle exec rspec $(git status | grep spec | grep "modified:" | cut -b 14-)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment