#!/bin/bash

set -e 
echo "" 

pushd ruby > /dev/null
 echo "RUNNING RUBY TESTS"
 bundle exec rspec
popd > /dev/null

echo ""

pushd web > /dev/null
 echo "RUNNING WEB TESTS"
 bundle exec rspec
popd > /dev/null

echo ""

pushd admin > /dev/null
 echo "RUNNING ADMIN TESTS"
 bundle exec rspec
popd > /dev/null

echo ""

pushd websocket-gateway > /dev/null
 echo "RUNNING WEBSOCKET-GATEWAY TESTS"
 bundle exec rspec
popd > /dev/null

echo "TESTS PASSED"
