Sha256: 908646d33a0e9e40d054307920be972b338f904b6ad7905a363b08baa87fc366

Contents?: true

Size: 804 Bytes

Versions: 19

Compression:

Stored size: 804 Bytes

Contents

#!/bin/bash -e

rake="bundle exec rake"

cd spec/dummy

# Bring in the initializer

if [ $SPEC_GROUP == 'non_primary_database' ]
then
  echo 'Testing non primary database install'
  cp config/database-non_primary.yml config/database.yml
  cp app/models/other/base.rb.sample app/models/other/base.rb
  cp config/initializers/naf.rb.non_primary config/initializers/naf.rb
  $rake naf:install:migrations naf:isolate:migrations db:create:all naf:db:migrate naf:janitor:infrastructure naf:db:test:clone_structure
else
  echo 'Testing primary database install'
  cp config/database-primary.yml config/database.yml
  cp config/initializers/naf.rb.primary config/initializers/naf.rb
  $rake naf:install:migrations db:create db:migrate naf:janitor:infrastructure db:test:clone_structure
fi

cd ../..

$rake spec

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
naf-2.1.9 ci/travis.sh
naf-2.1.8 ci/travis.sh
naf-2.1.6 ci/travis.sh
naf-2.1.5 ci/travis.sh
naf-2.1.4 ci/travis.sh
naf-2.1.3 ci/travis.sh
naf-2.1.2 ci/travis.sh
naf-2.1.1 ci/travis.sh
naf-2.1.0 ci/travis.sh
naf-2.0.4 ci/travis.sh
naf-2.0.3 ci/travis.sh
naf-2.0.2 ci/travis.sh
naf-2.0.1 ci/travis.sh
naf-2.0.0 ci/travis.sh
naf-1.1.4 ci/travis.sh
naf-1.1.3 ci/travis.sh
naf-1.1.2 ci/travis.sh
naf-1.1.1 ci/travis.sh
naf-1.1.0 ci/travis.sh