mirror of
https://github.com/postalserver/postal.git
synced 2026-10-19 18:56:05 +00:00
test: FactoryBot.lint will lint all registered factories
This commit is contained in:
@@ -25,7 +25,7 @@ RSpec.configure do |config|
|
|||||||
# the rest of the suite.
|
# the rest of the suite.
|
||||||
begin
|
begin
|
||||||
DatabaseCleaner.start
|
DatabaseCleaner.start
|
||||||
FactoryBot.lint#(FactoryBot.factories.select { |f| !FACTORIES_EXCLUDED_FROM_LINT.include?(f.name.to_sym) })
|
FactoryBot.lint
|
||||||
ensure
|
ensure
|
||||||
DatabaseCleaner.clean
|
DatabaseCleaner.clean
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user