From c9725ca442d368c43abacc2bf7f94134d209e0cc Mon Sep 17 00:00:00 2001 From: Markus Schwed Date: Wed, 25 Sep 2013 09:34:34 +0200 Subject: [PATCH] Added "should accept_nested_attributes_for" example on README --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 81e2fdb5..140b399e 100644 --- a/README.md +++ b/README.md @@ -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