Skip to content

Commit

Permalink
test: FactoryBot.lint will lint all registered factories
Browse files Browse the repository at this point in the history
  • Loading branch information
adamcooke committed Feb 10, 2024
1 parent cfd8d63 commit 25d7d66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/rails_helper.rb
Expand Up @@ -25,7 +25,7 @@
# the rest of the suite.
begin
DatabaseCleaner.start
FactoryBot.lint#(FactoryBot.factories.select { |f| !FACTORIES_EXCLUDED_FROM_LINT.include?(f.name.to_sym) })
FactoryBot.lint
ensure
DatabaseCleaner.clean
end
Expand Down

0 comments on commit 25d7d66

Please sign in to comment.