html reset
This commit is contained in:
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user