-
-
Notifications
You must be signed in to change notification settings - Fork 909
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Jacob Morris
committed
Sep 10, 2014
1 parent
4f9a0d7
commit d9cadb8
Showing
3 changed files
with
77 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters