ChaelCodes / HuntersKeepers

An app to make managing games of Monster of the Week easier.
MIT License
40 stars 26 forks source link

Add Database Cleaner #248

Closed ChaelCodes closed 3 years ago

ChaelCodes commented 3 years ago

Describe the Feature

Is your feature request related to a problem? Please describe. The test database has a bunch of random records in it, and the ids of our test records are constantly inscreasing. This is because we do not clean the database between test runs. DatabaseCleaner is the gem everyone uses for this, so let's add it.

Additional context Add any other context or screenshots about the feature request here.

Describe the Technical Implementation of the Solution

Solution Implement DatabaseCleaner.

References Any references to materials or help articles that may help in implementing this issue.

ChaelCodes commented 3 years ago

This was not needed. Our tests aren't leaving data around after test runs.