thoughtbot--factory_bot/spec
Josh Clayton 1b81d5dc25
Fix strategy tracking through associations
What?
=====

Within FactoryBot::Evaluator, the build strategy was reported either as
a class OR symbol.

A side-effect of this is misreporting within
ActiveSupport::Notifications hooks, since the instrumentation payload
may have strategies listed as e.g. `:create` or
`FactoryBot::Strategy::Create`, even though they semantically represent
the same information.

This introduces a new instance method for all strategies, `to_sym`,
to be called rather than `class`.
2022-03-07 21:23:47 -05:00
..
acceptance Fix strategy tracking through associations 2022-03-07 21:23:47 -05:00
factory_bot Add Ruby 3.1 and Rails 7 to CI (#1526) 2022-01-14 15:08:08 -05:00
support Fix violations for latest version of standard 2021-02-20 17:22:31 -05:00
factory_bot_spec.rb Run standardrb 2020-06-10 17:11:39 -04:00
spec_helper.rb Fix JRuby CI build (#1475) 2021-03-29 20:18:27 -04:00