html reset

This commit is contained in:
Mark Moser
2017-03-20 10:57:50 -05:00
parent cb6f41fe29
commit 0727440a31
58 changed files with 397 additions and 529 deletions

View File

@ -7,7 +7,7 @@ class QuestionAttachmentsTest < ActionDispatch::IntegrationTest
get question_path questions(:fed6)
assert_response :success
assert_select '.question-text', questions(:fed6).question
assert_select 'div', questions(:fed6).question
assert_select "img[src=\"#{questions(:fed6).attachment}\"]"
end

View File

@ -7,7 +7,7 @@ class QuestionFlowTest < ActionDispatch::IntegrationTest
get question_path
assert_response :success
assert_select '.question-text', questions(:fed1).question
assert_select 'div', questions(:fed1).question
end
test "should load the summary" do
@ -15,7 +15,7 @@ class QuestionFlowTest < ActionDispatch::IntegrationTest
get summary_path
assert_response :success
assert_select '.prft-heading', 'Almost done!'
assert_select 'h1', 'Almost done!'
end
test "can load specific question from summary" do
@ -24,7 +24,7 @@ class QuestionFlowTest < ActionDispatch::IntegrationTest
get question_path(question.id)
assert_response :success
assert_select '.question-text', question.question
assert_select 'div', question.question
end
test 'juan should be on summary with 80% complete' do
@ -32,6 +32,6 @@ class QuestionFlowTest < ActionDispatch::IntegrationTest
get summary_path
assert_response :success
assert_select '.progress span', '80%'
assert_select 'aside span', '80%'
end
end

View File

@ -8,7 +8,7 @@ class QuestionLiveCoderTest < ActionDispatch::IntegrationTest
get question_path(question.id)
assert_response :success
assert_select '.question-text', question.question
assert_select 'div', question.question
end
test "should load seed data into live coder" do