Skip to content

Instantly share code, notes, and snippets.

@klaseskilson
Created February 27, 2018 09:10
Show Gist options
  • Save klaseskilson/5cf01964ff65573dba92fcc80b1af94a to your computer and use it in GitHub Desktop.
Save klaseskilson/5cf01964ff65573dba92fcc80b1af94a to your computer and use it in GitHub Desktop.
Run modified spec files
#!/bin/bash
bundle exec rspec $(git diff --name-only develop | grep spec)
# Modified from
# https://coderwall.com/p/usrhyq/running-modified-specs-with-git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment