Sha256: 806ed7fd3a70116b322413a6e25d81e0e1c767f4c921751c8563c72ce6378e25
Contents?: true
Size: 381 Bytes
Versions: 15
Compression:
Stored size: 381 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
15 entries across 15 versions & 1 rubygems