Fixed README syntax error for :accepts_nested_attributes_for

This commit is contained in:
Konstantin Rudy 2013-12-01 15:43:43 +03:00
parent 92d4a2bd9b
commit 5c86571182
1 changed files with 1 additions and 1 deletions

View File

@ -558,7 +558,7 @@ end
# RSpec
describe Car do
it { should accept_nested_attributes_for(:doors) }
it { should accept_nested_attributes_for(:mirrors).allow_destroy }
it { should accept_nested_attributes_for(:mirrors).allow_destroy(true) }
it { should accept_nested_attributes_for(:windows).limit(3) }
it { should accept_nested_attributes_for(:engine).update_only }
end