Last active
February 12, 2018 12:27
-
-
Save isuke/a614b559598931e8374b88b404d09a14 to your computer and use it in GitHub Desktop.
rename factory_file to xxx_factory.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# config/initialize/factory_girl.rb | |
Rails.application.config.generators { |g| g.factory_girl suffix: 'factory' } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# config/initialize/factory_bot.rb | |
Rails.application.config.generators { |g| g.factory_bot suffix: 'factory' } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment