Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run fixtures in every test #36

Open
javierseixas opened this issue May 16, 2019 · 0 comments
Open

Run fixtures in every test #36

javierseixas opened this issue May 16, 2019 · 0 comments

Comments

@javierseixas
Copy link

I would like to be able to run the fixtures every test, for starting each one in a clean and controlled way.

Right now, it seems that only sets the database and the fixtures at the beginning, so I'm having conflicts in two different tests, each one tests user creation, but the second throws an error cos the email (unique index in Database) was created in the previous test.

So, my question is how I can run the fixtures every test, despite of slowing down the suite.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant