Created
June 25, 2019 20:02
-
-
Save relwell/d79e39eb68491cb90291f4ed14c61393 to your computer and use it in GitHub Desktop.
Run rspec on all changed spec files at once
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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