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/spec/support/macros
Daniel Colson c9989e99e0
Use dedicated methods for memoized values (#1211)
RuboCop didn't seem to like having memoization in the
`default_constants` method that didn't match the method name. This
satisfies RuboCop, and saves us an array allocation or two when we run
specs that don't use any of these helpers.
2018-10-05 11:19:48 -04:00
..
define_constant.rb Use dedicated methods for memoized values (#1211) 2018-10-05 11:19:48 -04:00
deprecation.rb Deprecate factory lookup by class 2016-03-09 05:29:15 -05:00