olalonde / fixer

Setup your test database using fixtures in a breeze.
9 stars 4 forks source link

Why not use findOrCreate? #2

Closed igorescobar closed 10 years ago

igorescobar commented 10 years ago

Hi @olalonde at line 104, why not use findOrCreate? On my case I don't want to force the sync and the second time I ran my tests I got an error Duplicated Entry. Would be nice to use the sequelizejs findOrCreate instead of create so the second time I run my tests I wouldn't get a error message.

olalonde commented 10 years ago

Hi @igorescobar , you are welcome to do a pull request. Try to keep it backwards compatible.