skip to Main Content

Postgresql – Test database not using .env values

I am running tests using rails test:models and got this error (though the tests still run) ActiveRecord::NoDatabaseError: We could not find your database: postgres. Which can be found in the database configuration file located at config/database.yml. A database called postgres…

VIEW QUESTION
Back To Top
Search