moving post answer routes back
This commit is contained in:
1 parent
95eec915c4
commit
fff062a3a7
5 files changed
+41
-39
No files matched your search
@@ -53,7 +53,7 @@ class CandidateControllerTest < ActionDispatch::IntegrationTest
|
||||
test "should get flash message on bad radio response" do
|
||||
setup_auth candidates(:martha)
|
||||
qid = questions(:fed1).id
|
||||
post post_radio_url, params: { answer: { question_id: qid, radio: nil } }
|
||||
post post_answer_path, params: { answer: { question_id: qid, radio: nil } }
|
||||
|
||||
assert_response :success
|
||||
assert session[:test_id].present?
|
||||
|
||||
Reference in new issue
Block a user