Sha256: 627fed4a6f8f43589f1b33924f074d1b85006f3d5f6ea8026de0d77e3b5dcf5a
Contents?: true
Size: 485 Bytes
Versions: 118
Compression:
Stored size: 485 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 bin/webpack 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
118 entries across 118 versions & 1 rubygems