Rails::Generator is not creating factory in spec folder
|Added at||2017-01-02 20:01|
I am trying to generate a new factory inside a module and I basically required
and I am calling the command below. Notice that it creates the file inside the test folder.
When I try to generate the factory in the terminal, it creates the factory inside the spec folder:
My problem is: I basically want to create the factory inside the spec folder when I run
I have been stuck in this problem for a few hours and that's why I am here :) Any ideas?