mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 09:57:23 +02:00
Remove factory_girl include from dev rake task
No longer needed after 92b125b4a7
This commit is contained in:
parent
0027d9e214
commit
d492fa2351
1 changed files with 0 additions and 2 deletions
|
@ -5,9 +5,7 @@ namespace :dev do
|
||||||
task :prime, [:random] => :environment do |t, args|
|
task :prime, [:random] => :environment do |t, args|
|
||||||
abort 'Production environment is not supported' if Rails.env.production?
|
abort 'Production environment is not supported' if Rails.env.production?
|
||||||
|
|
||||||
require 'factory_girl'
|
|
||||||
include FactoryGirl::Syntax::Methods
|
include FactoryGirl::Syntax::Methods
|
||||||
FactoryGirl.find_definitions
|
|
||||||
|
|
||||||
PaperTrail.enabled = false
|
PaperTrail.enabled = false
|
||||||
Domain.paper_trail_on!
|
Domain.paper_trail_on!
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue