skill-assessment-app/lib/tasks/faker.rake
2017-02-24 13:30:22 -06:00

11 lines
282 B
Ruby

# frozen_string_literal: true
namespace :faker do
desc "Generates 10 fake candidates with results."
task results: :environment do
puts "Not for production use" and return if Rails.env == "production"
faker = FakeQuiz.new
faker.create_completed_quizzes 10
end
end