#!/bin/bash
#
# Run rspec tests in docker environment:
#   – Execute like this: `docker-compose run --rm app ./docker/dev/run-rspec.sh`
#   – Or make an alias `alias dspec='docker-compose run --rm app ./docker/dev/run-rspec.sh'`
#        then type `dspec` to start Continuous Integration Testing.
#   – Or run from shell in docker (`docker-compose run --rm bash` … ./docker/dev/run-rpsec.sh`)

#
# Prepare spec tests
#
export RTAILS_ENV=test
bundle exec rake db:create
bundle exec rake db:schema:load
bundle exec rake db:test:prepare

#
# Run spec tests
#
RAILS_ENV=test bundle exec rspec spec/


#!/bin/bash
#
# Run rspec tests in docker environment:
#   – Execute like this: `docker-compose run --rm app ./docker/dev/run-rspec.sh`
#   – Or make an alias `alias dspec='docker-compose run --rm app ./docker/dev/run-rspec.sh'`
#        then type `dspec` to start Continuous Integration Testing.
#   – Or run from shell in docker (`docker-compose run --rm bash` … ./docker/dev/run-rpsec.sh`)

#
# Prepare spec tests
#
export RAILS_ENV=test
bundle exec rake db:create
bundle exec rake db:schema:load
bundle exec rake db:test:prepare

#
# Run spec tests
#
RAILS_ENV=test bundle exec rspec spec/


Fix spec test script in this branch.
Fix spec test script in this branch.

[#146098683]
