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

Optionally call ->delete() on all created factories #112

Closed
scottrobertson opened this issue Jul 28, 2014 · 5 comments
Closed

Optionally call ->delete() on all created factories #112

scottrobertson opened this issue Jul 28, 2014 · 5 comments
Milestone

Comments

@scottrobertson
Copy link
Contributor

No description provided.

@scottrobertson
Copy link
Contributor Author

This could potentially just be:

public static function tearDownAfterClass()
{
    FactoryMuffin::deleteAll();
}

@GrahamCampbell
Copy link
Member

@scottrobertson Would you like me to implement this?

@scottrobertson
Copy link
Contributor Author

That would be cool yeah. Can you make the delete method configureable if possible.

@GrahamCampbell
Copy link
Member

Sure, I'll get it to check if the method exists on the model too. I'll probably do this tomorrow though. I have little time tonight.

@scottrobertson
Copy link
Contributor Author

Thanks :)

@GrahamCampbell GrahamCampbell modified the milestones: v2.0.0, v2.0.0-RC2 Dec 21, 2014
This issue was closed.
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

2 participants