Sha256: e3c5b5db3ddf72faee5d848090a8642f97a29cf5a08d7cbd803802b10629a23e
Contents?: true
Size: 527 Bytes
Versions: 67
Compression:
Stored size: 527 Bytes
Contents
#!/bin/bash -e export RAILS_ENV="test" export NODE_ENV="test" # Run unit tests if [[ -z "$1" ]] || [[ "$1" == "unit" ]]; then bundle exec rspec ./spec --tag type:feature bundle exec rspec ./spec --tag type:controller fi; # Run system tests if [[ -z "$1" ]] || [[ "$1" == "system" ]]; then yarn build:js yarn build:custom-js yarn build:css bundle exec rspec ./spec --tag type:system fi; # Run open-ended test paths if [[ "$@" ]] && [[ "$1" != "unit" ]] && [[ "$1" != "system" ]]; then bundle exec rspec $@ fi;
Version data entries
67 entries across 67 versions & 1 rubygems