From 1759e9ea0233aa770aff16695494b94cdc7ef660 Mon Sep 17 00:00:00 2001 From: Thor77 Date: Thu, 2 May 2019 12:04:33 +0200 Subject: [PATCH] Add missing environment to lint task --- lib/tasks/factorybot.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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