![]() Rails supports declaring a `has_and_belongs_to_many` relationship with a custom `:join_table` option and some developers want to assert that the correct value is being used. Add `AssocationMatcher#join_table` to allow developers to test the following: 1) That the :join_table option is being used for the relationship 2) That the *correct value* is being used 3) That the custom join table exists in the database |
||
---|---|---|
.. | ||
counter_cache_matcher.rb | ||
dependent_matcher.rb | ||
inverse_of_matcher.rb | ||
join_table_matcher.rb | ||
model_reflection.rb | ||
model_reflector.rb | ||
option_verifier.rb | ||
order_matcher.rb | ||
source_matcher.rb | ||
through_matcher.rb |