I load DB cleaner only in test env (while running my tests). I can see that ENV["RAILS_ENV"]=test during my test run.
However, dev DB is cleaned every time I run my tests.
Is this a bug? What is the proper way to prevent this?
Ruby 3.4.1
Rails 8.0.2
I saw these issues, but did not get what is the solution
#704
#687
I load DB cleaner only in test env (while running my tests). I can see that
ENV["RAILS_ENV"]=testduring my test run.However, dev DB is cleaned every time I run my tests.
Is this a bug? What is the proper way to prevent this?
Ruby 3.4.1
Rails 8.0.2
I saw these issues, but did not get what is the solution
#704
#687