Added "should accept_nested_attributes_for" example on README

This commit is contained in:
Markus Schwed 2013-09-25 09:34:34 +02:00 committed by Elliot Winkler
parent 676ce88d39
commit c9725ca442
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@ Matchers to test associations:
describe Post do
it { should belong_to(:user) }
it { should have_many(:tags).through(:taggings) }
it { should accept_nested_attributes_for(:comments) }
end
describe User do