Ask A Question

Notifications

You’re not receiving notifications from this thread.

Retrieving Link Metadata with Background Jobs Discussion

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.

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 86,946+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.