Pass arguments to test function
This commit is contained in:
parent
c0776bbc37
commit
0c62be8d91
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue