Skip to content

Commit

Permalink
Don't explicitly generate models during ActionModel test setup (#1093)
Browse files Browse the repository at this point in the history
Related to #1030
  • Loading branch information
jagthedrummer authored Oct 16, 2023
1 parent e4a5cde commit 7c184ad
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/bin/setup-action-models-system-test
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 7c184ad

Please sign in to comment.