canvas-lms/gems/adheres_to_policy/test.sh

16 lines
239 B
Bash
Executable File

#!/bin/bash
result=0
echo "################ adheres_to_policy ################"
bundle check || bundle install
bundle exec rspec spec
let result=$result+$?
if [ $result -eq 0 ]; then
echo "SUCCESS"
else
echo "FAILURE"
fi
exit $result