Sha256: 121d86be6929c01ed5195cb5ab3b2b518ff10febec82e1816ebee67746576510

Contents?: true

Size: 548 Bytes

Versions: 1

Compression:

Stored size: 548 Bytes

Contents

#!/bin/sh -xe

# Install packages.
bundle --quiet --binstubs

DUMMY_APP_PATH="spec/dummy"

# Prep dummy app db
pushd "$DUMMY_APP_PATH"
  rake db:drop db:setup
  rake db:test:load
popd

rm -rf coverage

# Enable to check spec coverage - only 'elses' should be uncovered
export CHECK_SPEC_COVERAGE=${CHECK_SPEC_COVERAGE:-false}

COVERAGE_GROUP="unit-tests" bin/rake "spec:unit"
COVERAGE_GROUP="firefox-features" BROWSER=firefox bin/rake "spec:features"
COVERAGE_GROUP="chrome-features" BROWSER=chrome bin/rake "spec:features"
bin/rake "spec:quality"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails-prg-0.1.0 script/spec