Pass arguments to test function

This commit is contained in:
Andrew Tomaka 2020-01-22 11:33:00 -05:00
parent c0776bbc37
commit 0c62be8d91
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE

View file

@ -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
}