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/factory_bot/attribute
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
..
association.rb Run standardrb 2020-06-10 17:11:39 -04:00
dynamic.rb Update arity checks for Symbol#to_proc change 2020-07-16 16:29:54 -04:00
sequence.rb Replace 'girl' with 'bot' everywhere (#1051) 2017-10-20 15:20:28 -04:00