Remove factory_girl include from dev rake task

No longer needed after 92b125b4a7
This commit is contained in:
Artur Beljajev 2017-10-27 12:03:33 +03:00
parent 0027d9e214
commit d492fa2351

View file

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