Skip to content

Same DB Being Used in Development and Test Environments #3396

@aaronskiba

Description

@aaronskiba

Please complete the following fields as applicable:

What version of the DMPRoadmap code are you running? (e.g. v2.2.0)

  • v4.1.0

Expected behaviour:

  • Executing the rspec tests should not affect the development db.

Actual behaviour:

bundle exec rspec was executed in between the following two SELECT COUNT(*) FROM users; queries:

postgres=# \c roadmap
You are now connected to database "roadmap" as user "postgres".
roadmap=# SELECT COUNT(*) FROM users;
 count 
-------
     4
(1 row)

roadmap=# SELECT COUNT(*) FROM users;
 count 
-------
     0
(1 row)

roadmap=# 

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