Retrieving Link Metadata with Background Jobs Discussion
Discussion for
Retrieving Link Metadata with Background Jobs
Posting here in case anyone else ran into the issue where they tried to run a test, but got the error of having pending database migrations (also after running db:migrate).
For me what helped is running db:migrate for the test environment, so:
bin/rails db:migrate RAILS_ENV=test
After that, tests would run fine.