Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes deprecation warning on linter.rb #1364

Merged
merged 1 commit into from Jan 10, 2020
Merged

fixes deprecation warning on linter.rb #1364

merged 1 commit into from Jan 10, 2020

Conversation

RicardoTrindade
Copy link
Contributor

With ruby 2.7 we start seeing the following warnings when running tests

/factory_bot/lib/factory_bot.rb:74: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/factory_bot/lib/factory_bot/linter.rb:3: warning: The called method `initialize' is defined here

I'm proposing the following changes so that the message is supressed.

@composerinteralia
Copy link
Collaborator

Looks good. Thanks!

@composerinteralia composerinteralia merged commit 7f2a405 into thoughtbot:master Jan 10, 2020
@RicardoTrindade RicardoTrindade deleted the ruby-27-fix-deprecation-warning branch January 10, 2020 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants