factory_bot icon indicating copy to clipboard operation
factory_bot copied to clipboard

Getting Duplication error

Open Student945 opened this issue 2 years ago • 0 comments

Hi, i m using factorybot to test my app with rspec and cucumber. With cucumber all test go well, with rspec i have this error: "duplication definition error, factory alredy registered :user". If i try to write email with incremental Number One field email i enter in a loop during the test. But i only create user at the start of my controller_spec One time .Please help me, it's very very urgent. I can provider link to github repo

Student945 avatar Oct 20 '23 08:10 Student945