Sha256: 40e553138877aac914c1071069cce8454ca5f6d047018afa54828a8760852c6a
Contents?: true
Size: 504 Bytes
Versions: 60
Compression:
Stored size: 504 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: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
60 entries across 60 versions & 1 rubygems