Rename FactoryGirl to FactoryBot

https://robots.thoughtbot.com/factory_bot
This commit is contained in:
Artur Beljajev 2017-10-28 21:43:38 +03:00
parent 48fd2a95a0
commit 52ab208b92
34 changed files with 47 additions and 47 deletions

View file

@ -5,7 +5,7 @@ namespace :dev do
task :prime, [:random] => :environment do |t, args|
abort 'Production environment is not supported' if Rails.env.production?
include FactoryGirl::Syntax::Methods
include FactoryBot::Syntax::Methods
PaperTrail.enabled = false
Domain.paper_trail_on!