From f2c4d803d76751d2a9cc62e747529a027883ab40 Mon Sep 17 00:00:00 2001 From: Jeremy Green Date: Mon, 16 Oct 2023 16:03:25 -0500 Subject: [PATCH] Don't explicitly generate models during ActionModel test setup Related to https://github.com/bullet-train-co/bullet_train/pull/1030 --- test/bin/setup-action-models-system-test | 6 ------ 1 file changed, 6 deletions(-) diff --git a/test/bin/setup-action-models-system-test b/test/bin/setup-action-models-system-test index ec9b8561c..bdc0577be 100755 --- a/test/bin/setup-action-models-system-test +++ b/test/bin/setup-action-models-system-test @@ -8,7 +8,6 @@ fi export SPRING=true if [ -z "${CIRCLE_NODE_INDEX}" ] || [ "${CIRCLE_NODE_INDEX}" == "0" ]; then - bundle exec spring rails g model Project team:references name:string bin/super-scaffold crud Project Team name:text_field --navbar="ti-world" rails db:migrate bin/super-scaffold action-model:targets-many Archive Project Team @@ -23,7 +22,6 @@ else fi if [ -z "${CIRCLE_NODE_INDEX}" ] || [ "${CIRCLE_NODE_INDEX}" == "1" ]; then - bundle exec spring rails g model Listing team:references name:string bin/super-scaffold crud Listing Team name:text_field --navbar="ti-world" rails db:migrate bin/super-scaffold action-model:targets-one Publish Listing Team @@ -34,9 +32,7 @@ else fi if [ -z "${CIRCLE_NODE_INDEX}" ] || [ "${CIRCLE_NODE_INDEX}" == "3" ]; then - bundle exec spring rails g model Customer team:references name:string bin/super-scaffold crud Customer Team name:text_field --navbar="ti-user" - bundle exec spring rails g model Notification customer:references text:string read:boolean bin/super-scaffold crud Notification Customer,Team text:text_field read:boolean --navbar="ti-email" rails db:migrate bin/super-scaffold action-model:targets-one-parent MarkAllAsRead Notification Customer @@ -47,7 +43,6 @@ else fi if [ -z "${CIRCLE_NODE_INDEX}" ] || [ "${CIRCLE_NODE_INDEX}" == "2" ]; then - bundle exec spring rails g model Article team:references name:string bin/super-scaffold crud Article Team name:text_field --navbar="ti-world" rails db:migrate bin/super-scaffold action-model:performs-import CsvImport Article Team @@ -56,7 +51,6 @@ else fi if [ -z "${CIRCLE_NODE_INDEX}" ] || [ "${CIRCLE_NODE_INDEX}" == "3" ]; then - bundle exec spring rails g model Visitor team:references email:string first_name:string last_name:string bin/super-scaffold crud Visitor Team email:text_field first_name:text_field last_name:text_field --navbar="ti-world" rails db:migrate bin/super-scaffold action-model:performs-export CsvExport Visitor Team