Add "new_translatable" shared example to proposals feature specs
This commit is contained in:
committed by
voodoorai2000
parent
1bcbcf4975
commit
d0bf0f8857
@@ -15,6 +15,11 @@ describe "Proposals" do
|
||||
context "Concerns" do
|
||||
it_behaves_like "notifiable in-app", Proposal
|
||||
it_behaves_like "relationable", Proposal
|
||||
it_behaves_like "new_translatable",
|
||||
"proposal",
|
||||
"new_proposal_path",
|
||||
%w[title summary],
|
||||
{ "description" => :ckeditor }
|
||||
it_behaves_like "translatable",
|
||||
"proposal",
|
||||
"edit_proposal_path",
|
||||
|
||||
Reference in New Issue
Block a user