Add proposals translation interface
* Convert proposal form into translatable one. * Adapt translatable shared spec to define an owner when running at frontend feature specs. * Remove old attributes from strong parameters.
This commit is contained in:
committed by
voodoorai2000
parent
4ce006ec96
commit
bd3bb72370
@@ -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 "translatable",
|
||||
"proposal",
|
||||
"edit_proposal_path",
|
||||
%w[title summary],
|
||||
{ "description" => :ckeditor }
|
||||
end
|
||||
|
||||
context "Index" do
|
||||
|
||||
Reference in New Issue
Block a user