Sha256: 33550fd9b7afc153e927a6b26c5c897ba12b75563de43bdfe161f4f2f6747558
Contents?: true
Size: 382 Bytes
Versions: 9
Compression:
Stored size: 382 Bytes
Contents
# frozen_string_literal: true namespace :factory_girl do desc "Verify that all FactoryGirl factories are valid" task lint: :environment do if Rails.env.test? begin DatabaseCleaner.start FactoryGirl.lint ensure DatabaseCleaner.clean end else system("bundle exec rake factory_girl:lint RAILS_ENV='test'") end end end
Version data entries
9 entries across 9 versions & 1 rubygems