Currently, if you try to run
./bin/turbo_rspec you will got that error
There are pending migrations, run rake parallel:migrate
Reason for that is that command is running in
development mode which includes plugins migration files in ActiveRecord::Migrator.migrations_paths:
["db/migrate", "/home/lis2/projects/discourse/plugins/discourse-details/db/migrate", "/home/lis2/projects/discourse/plugins/discourse-details/db/post_migrate", "/home/lis2/projects/discourse/plugins/discourse-local-dates/db/migrate", "/home/lis2/projects/discourse/plugins/discourse-local-dates/db/post_migrate", ... ]
A workaround solution would be to run the command with the TEST environment like
I want to propose in this PR to override migration_paths to check only Discourse core migrations.