Closed jonatasdaniel closed 1 year ago
A few thoughts:
RAILS_ENV
var set correctly?Most likely, this is not an issue of the database cleaner gem. How should this gem know which database you intend to truncate? "Remote" doesn't necessarily mean that is the wrong DB; you could run your test DB on a remote server, nothing wrong with that from the point of view of this gem?
Closing this due to inactivity.
I have two databases in my app (ActiveRecord (Postgres) and MongoID (MongoDB)) with this config:
but running my specs with
DATABASE_URL
set on my env, I got theSafeguard::Error::RemoteDatabaseUrl
error but my remote database keeps getting wiped out.