Apply section heads to test output for clarity.
This also removes a test setup command that added an uploads directory. It's no longer necessary.
This commit is contained in:
@@ -53,3 +53,19 @@ reset_db() {
|
||||
# Seed database data
|
||||
seed_db
|
||||
}
|
||||
|
||||
output_divider() {
|
||||
if tty -s; then
|
||||
echo "$( tput bold )$( tput smul )$( tput setaf 6 )${1}$( tput sgr 0)"
|
||||
else
|
||||
echo $1
|
||||
fi
|
||||
}
|
||||
|
||||
warning() {
|
||||
if tty -s; then
|
||||
echo "$( tput bold )$( tput setaf 1 )${1}$( tput sgr 0)"
|
||||
else
|
||||
echo $1
|
||||
fi
|
||||
}
|
||||
|
Reference in New Issue
Block a user