canvas-lms/gems/canvas_http/test.sh

16 lines
235 B
Bash
Executable File

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