live coder refactor fixes #36 and #50

This commit is contained in:
Mark Moser committed 2016-08-08 17:08:20 -05:00
1 parent d301547660
commit 5f395dcf41
17 files changed
+117 -165

No files matched your search

@@ -15,4 +15,15 @@ class QuestionLiveCoderTest < ActionDispatch::IntegrationTest
# TODO: add in capybara and test form post
# assert_redirected summary_path
end
test "can load a live coder TEXT question" do
setup_auth candidates(:dawn)
question = questions(:fed3)
get question_path(question.id)
assert_response :success
assert_select '.question-text', question.question
# TODO: add in capybara and test form post
# assert_redirected summary_path
end
end