factory-girl icon indicating copy to clipboard operation
factory-girl copied to clipboard

Adding remove function to remove defined factory

Open imam opened this issue 7 years ago • 0 comments

Sometimes, we want to remove defined factory. In my case, I need it because when I use mocha, it watches my files and re-runs project tests, it will say that the factory is defined. It is defined in the first iteration, unfortunately when the test re-run, it will throw that error. This commit will help me to remove defined factory so it won't throw the said error.

imam avatar Jan 16 '18 08:01 imam