thoughtbot--shoulda-matchers/lib/shoulda/matchers/active_record/association_matchers
Jacob Morris af85ac1f0e Add support for hbtm :join_table option
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
2015-04-04 00:19:28 -06:00
..
counter_cache_matcher.rb Prefer protected over private attributes 2014-06-27 14:41:54 -06:00
dependent_matcher.rb Dependent qualifier now supports more values 2015-01-20 14:10:14 -07:00
inverse_of_matcher.rb Prefer protected over private attributes 2014-06-27 14:41:54 -06:00
join_table_matcher.rb Add support for hbtm :join_table option 2015-04-04 00:19:28 -06:00
model_reflection.rb Rename AssociationMatcher#join_table 2015-04-03 23:33:19 -06:00
model_reflector.rb Rename AssociationMatcher#join_table 2015-04-03 23:33:19 -06:00
option_verifier.rb Dependent qualifier now supports more values 2015-01-20 14:10:14 -07:00
order_matcher.rb Prefer protected over private attributes 2014-06-27 14:41:54 -06:00
source_matcher.rb Prefer protected over private attributes 2014-06-27 14:41:54 -06:00
through_matcher.rb Prefer protected over private attributes 2014-06-27 14:41:54 -06:00