Skip to content

Instantly share code, notes, and snippets.

@vrinek
Created September 15, 2011 12:30
Show Gist options
  • Save vrinek/1219113 to your computer and use it in GitHub Desktop.
Save vrinek/1219113 to your computer and use it in GitHub Desktop.
finds focused specs (good for a git hook)
git grep -n ':focus *=> *true' -- $(ruby -e 'puts `ls -d spec/*`.split("\n").reject{|f| f == "spec/spec_helper.rb"}')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment