forked from thoughtbot/shoulda-matchers
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add failing specs for association_matcher autosave
has_one, has_many, belongs_to, and has_and_belongs_to_many relationships can have an `:autosave` option, which causes the relevant associated records to be automatically saved when their parent is saved. I've added failing specs for passing and failing cases for each of these association types. https://github.com/rails/rails/blob/master/activerecord/lib/active_record/autosave_association.rb
- Loading branch information
1 parent
35b65c2
commit 7c582ba
Showing
1 changed file
with
68 additions
and
0 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