Add Rake Task to lint Factories

This commit is contained in:
Daniel Schädler 2019-04-28 14:40:59 +02:00
parent 3e88a4381a
commit a0677a2644
1 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,8 @@
# frozen_string_literal: true
namespace :factorybot do
desc 'Lint FactoryBot factories'
task :lint do |_|
FactoryBot.lint
end
end