diff --git a/lib/tasks/factorybot.rake b/lib/tasks/factorybot.rake index d09b34c..7ae5e59 100644 --- a/lib/tasks/factorybot.rake +++ b/lib/tasks/factorybot.rake @@ -2,7 +2,7 @@ namespace :factorybot do desc 'Lint FactoryBot factories' - task :lint do |_| + task lint: :environment do FactoryBot.lint end end