refactor(factories): Refactor test factories with rosie.js
Created by: Tirokk
Authored by roschaefer Merged
🍰 Pullrequest
fix #2942 (closed)
When I wrote the factories the first time it was a pain to add optional arguments and/or other factories. Rosie, https://github.com/rosiejs/rosie, has a smarter way of adding optional parameters.
This is something I need for our refactoring of images.