Sha256: 972f0c2c2108cbce7c1e3c23081eceae7414d1e67937904848ac73a756b91158
Contents?: true
Size: 575 Bytes
Versions: 233
Compression:
Stored size: 575 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 bundle exec rspec ./spec --tag type:component 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
233 entries across 233 versions & 1 rubygems