Rspec for pre-commit