Load answer through question in answers controller
We are simplifying the load answer and we can remove the ambiguous hidden field from answer form.
This commit is contained in:
@@ -216,7 +216,7 @@ describe "Admin edit translatable records", :admin do
|
||||
|
||||
context "CKEditor fields" do
|
||||
let(:translatable) { create(:poll_question_answer) }
|
||||
let(:path) { edit_admin_answer_path(translatable) }
|
||||
let(:path) { edit_admin_question_answer_path(translatable.question, translatable) }
|
||||
|
||||
scenario "Changes the existing translation" do
|
||||
visit path
|
||||
|
||||
Reference in New Issue
Block a user