moving post answer routes back
This commit is contained in:
@ -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