spec/test_app/script/full_suite in newsletter-3.2.6 vs spec/test_app/script/full_suite in newsletter-3.2.7
- old
+ new
@@ -8,18 +8,18 @@
export CUC_SQLITE_SUCCESS=0
DBADAPTER=sqlite bundle exec rspec spec && export SQLITE_SUCCESS=1
DBADAPTER=sqlite bundle exec cucumber features && export CUC_SQLITE_SUCCESS=1
-if [ $POSTGRES -eq 1 ]; then
+if [ "$POSTGRES" -eq "1" ]; then
#RUN FOR Postgresql
cp config/database.postgres.local.yml config/database.yml
bundle exec rake db:schema:load
export PGSQL_SUCCESS=0
- export CUCPGSQL_SUCCESS=0
+ export CUC_PGSQL_SUCCESS=0
DBADAPTER=pg bundle exec rspec spec && export PGSQL_SUCCESS=1
DBADAPTER=pg bundle exec cucumber features && export CUC_PGSQL_SUCCESS=1
fi
@@ -27,10 +27,10 @@
cp config/database.mysql.local.yml config/database.yml
bundle exec rake db:schema:load
export MYSQL_SUCCESS=0
-export CUCMYSQL_SUCCESS=0
+export CUC_MYSQL_SUCCESS=0
DBADAPTER=mysql bundle exec rspec spec && export MYSQL_SUCCESS=1
DBADAPTER=mysql bundle exec cucumber features && export CUC_MYSQL_SUCCESS=1
unset RAILS_ENV