Skip to content

Cleaning of dev DB #723

@dmitrytrager

Description

@dmitrytrager

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions