![]() It's currently not possible to test a `has_many` association that is defined with a scope block where the block takes an instance of the association source. The `have_many` matcher attempts to call this scope and when it does so it does not pass that instance. This commit fixes that. Co-authored-by: Elliot Winkler <elliot.winkler@gmail.com> |
||
---|---|---|
.. | ||
counter_cache_matcher.rb | ||
dependent_matcher.rb | ||
inverse_of_matcher.rb | ||
join_table_matcher.rb | ||
model_reflection.rb | ||
model_reflector.rb | ||
option_verifier.rb | ||
optional_matcher.rb | ||
order_matcher.rb | ||
required_matcher.rb | ||
source_matcher.rb | ||
through_matcher.rb |