jish/pre-commit — pull request #56 by jamesbarnett (2013-03-13 01:20:23+00:00)
Title: Creates a check to prevent :focus in rspec files from being committed

Enabled by adding rspec_focus when configuring pre-commit. Committing specs with `:focus` or `:focus => true` (this check detects both) in RSpec keeps the entire spec suite from running. This is annoying to other developers and not good for CI setups using rspec. I think it would make a good addition to the pre-commit gem.