From 044dface14aa82d082a89da189fa21d1e6b00393 Mon Sep 17 00:00:00 2001 From: Emi Matchu Date: Thu, 24 Oct 2024 15:22:39 -0700 Subject: [PATCH] Add RSpec to the commit hook --- .husky/pre-commit | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index df37ad6b..a3794082 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,5 @@ #!/usr/bin/env sh . "$(dirname -- "$0")/_/husky.sh" -yarn lint --max-warnings=0 --fix && bin/rails test +# Run the linter, and all our tests. +yarn lint --max-warnings=0 --fix && bin/rake test spec