Sha256: fb357b41e4a0e40d48aa0d4601eb9c8478206357671be5e1a30a693b59f1351c
Contents?: true
Size: 316 Bytes
Versions: 2
Compression:
Stored size: 316 Bytes
Contents
#encoding: utf-8 namespace :db do desc "Fill database with sample data" task populate_test: :environment do FileTest.exist? File.dirname(__FILE__) + '/../../spec/factories.rb' require File.dirname(__FILE__) + '/../../spec/factories.rb' 5.times { Factory(:customer_pj) } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
guara-0.0.3 | lib/tasks/smaple_data_test.rake |
guara-0.0.1.rc | lib/tasks/smaple_data_test.rake |