moving post answer routes back

This commit is contained in:
Mark Moser
2016-08-01 10:33:02 -05:00
parent 95eec915c4
commit fff062a3a7
5 changed files with 41 additions and 39 deletions

View File

@ -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?