Skip to content

Instantly share code, notes, and snippets.

@philsturgeon
Created November 2, 2016 19:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save philsturgeon/2d951ca0a0829be3c0ecae02d2197ef4 to your computer and use it in GitHub Desktop.
Save philsturgeon/2d951ca0a0829be3c0ecae02d2197ef4 to your computer and use it in GitHub Desktop.
Get those tests outta here!
bundle exec rspec | grep -ohi 'rspec \./[^\:]*' | sed -e 's/^rspec //' | while read f; do [[ -a "$f" ]] && git rm "$f"; done
@philsturgeon
Copy link
Author

philsturgeon commented Nov 2, 2016

Actually used this at work the other day. I might have to turn it into an RSpec extension and write some tests for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment