mirror of
https://github.com/thoughtbot/factory_bot_rails.git
synced 2022-11-09 11:49:18 -05:00
Require factory_girl_rails explicitly in generator
This resolves an issue where factory_girl_rails won't get required if you only have factory_girl_rails declared in the :test group of a Rails app. Closes #89
This commit is contained in:
parent
cb211119e0
commit
079657625d
1 changed files with 1 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
require 'generators/factory_girl'
|
||||
require 'factory_girl_rails'
|
||||
|
||||
module FactoryGirl
|
||||
module Generators
|
||||
|
|
Loading…
Reference in a new issue