Simplify translatable tests in the public area

This commit is contained in:
Javi Martín
2019-09-20 21:19:51 +02:00
parent 44d137a4c0
commit 11d16e7aad
4 changed files with 159 additions and 197 deletions

View File

@@ -15,11 +15,6 @@ 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 "remotely_translatable",
:proposal,
"proposals_path",