Add "new_translatable" shared example to proposals feature specs

This commit is contained in:
Senén Rodero Rodríguez
2019-04-25 15:34:47 +02:00
committed by voodoorai2000
parent 1bcbcf4975
commit d0bf0f8857

View File

@@ -15,6 +15,11 @@ describe "Proposals" do
context "Concerns" do context "Concerns" do
it_behaves_like "notifiable in-app", Proposal it_behaves_like "notifiable in-app", Proposal
it_behaves_like "relationable", Proposal it_behaves_like "relationable", Proposal
it_behaves_like "new_translatable",
"proposal",
"new_proposal_path",
%w[title summary],
{ "description" => :ckeditor }
it_behaves_like "translatable", it_behaves_like "translatable",
"proposal", "proposal",
"edit_proposal_path", "edit_proposal_path",