From 0c62be8d91f85d8cea960d7045e03f5dcd13a0e2 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Wed, 22 Jan 2020 11:33:00 -0500 Subject: [PATCH] Pass arguments to test function --- functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions b/functions index 1ff6124..3d7f9ab 100644 --- a/functions +++ b/functions @@ -105,9 +105,9 @@ function stopwatch { function test-rails { if bundle exec rspec --help > /dev/null 2>&1; then - bundle exec rspec + bundle exec rspec $@ else - bundle exec rails test + bundle exec rails test $@ fi }