Sha256: 30a4c69baea519447a7842a146aafee8ab8eafcb1eb651e96c8e914cf26eb67a

Contents?: true

Size: 391 Bytes

Versions: 5

Compression:

Stored size: 391 Bytes

Contents

#!/usr/bin/env bash

set -e

directory=$1

cd example
bundle
yarn install

# test a normal test run
bundle exec rake db:test:prepare
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

5 entries across 5 versions & 1 rubygems

Version Path
cypress-rails-0.5.5 script/test_example_app
cypress-rails-0.5.4 script/test_example_app
cypress-rails-0.5.3 script/test_example_app
cypress-rails-0.5.2 script/test_example_app
cypress-rails-0.5.1 script/test_example_app