Sha256: a375b001d5537a82ce37a6e958de9b55bd1c3f433332547508bbef49d4d843b8

Contents?: true

Size: 365 Bytes

Versions: 1

Compression:

Stored size: 365 Bytes

Contents

#!/usr/bin/env bash

set -e

directory=$1

cd example/an_app
bundle
yarn install

# test a normal test run
bundle exec rake cypress:run

# test that passing options works (by printing help)
if ! bundle exec rake cypress:run CYPRESS_RAILS_CYPRESS_OPTS="-h" | grep -q "Usage: cypress run \[options\]"; then
  echo "Failed to pass options to cypress run"
  exit 1
fi

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cypress-rails-0.1.0 script/test_example_app