Add nested documents to proposal form.

This commit is contained in:
Senén Rodero Rodríguez
2017-08-23 18:26:05 +02:00
parent 723173ae39
commit cc89907bff
25 changed files with 501 additions and 104 deletions

View File

@@ -1230,6 +1230,8 @@ feature 'Proposals' do
it_behaves_like "documentable", "proposal", "proposal_path", { "id": "id" }
it_behaves_like "nested documentable", "proposal", "new_proposal_path"
scenario 'Erased author' do
user = create(:user)
proposal = create(:proposal, author: user)