Sha256: a439f5d884f3c4c66f2d5463a813cd261e7d4aa68655384a9dbcc94e4b66a0be

Contents?: true

Size: 398 Bytes

Versions: 11

Compression:

Stored size: 398 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 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

11 entries across 11 versions & 1 rubygems

Version Path
cypress-rails-0.5.0 script/test_example_app
cypress-rails-0.4.2 script/test_example_app
cypress-rails-0.4.1 script/test_example_app
cypress-rails-0.4.0 script/test_example_app
cypress-rails-0.3.0 script/test_example_app
cypress-rails-0.2.0 script/test_example_app
cypress-rails-0.1.5 script/test_example_app
cypress-rails-0.1.4 script/test_example_app
cypress-rails-0.1.3 script/test_example_app
cypress-rails-0.1.2 script/test_example_app
cypress-rails-0.1.1 script/test_example_app