1
0
Fork 0
mirror of https://github.com/thoughtbot/factory_bot.git synced 2022-11-09 11:43:51 -05:00
thoughtbot--factory_bot/lib
Daniel Colson 37bc11d720 Update arity checks for Symbol#to_proc change
Ruby has [changed the arity of Symbol#to_proc from -1 to -2][ruby]. This commit
updates some arity checks we have in factory_bot to handle that case.
This should get the Ruby HEAD + Rails 6 tests passing on CI (the Ruby
head with other versions of Rails is still failing for various reasons).

[ruby]: 5b29ea0845
2020-07-16 16:29:54 -04:00
..
factory_bot Update arity checks for Symbol#to_proc change 2020-07-16 16:29:54 -04:00
factory_bot.rb Run standardrb 2020-06-10 17:11:39 -04:00