mirror of
https://github.com/thoughtbot/factory_bot.git
synced 2022-11-09 11:43:51 -05:00
Fix deprecation warning on linter.rb (#1364)
This commit is contained in:
parent
6fddc45673
commit
7f2a4057b6
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ module FactoryBot
|
|||
def self.lint(*args)
|
||||
options = args.extract_options!
|
||||
factories_to_lint = args[0] || FactoryBot.factories
|
||||
Linter.new(factories_to_lint, options).lint!
|
||||
Linter.new(factories_to_lint, **options).lint!
|
||||
end
|
||||
|
||||
class << self
|
||||
|
|
Loading…
Add table
Reference in a new issue