html review: round 1
This commit is contained in:
@ -7,7 +7,7 @@ class QuestionAttachmentsTest < ActionDispatch::IntegrationTest
|
||||
|
||||
get question_path questions(:fed6)
|
||||
assert_response :success
|
||||
assert_select 'div', questions(:fed6).question
|
||||
assert_select 'h1', 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 'div', questions(:fed1).question
|
||||
assert_select 'h1', questions(:fed1).question
|
||||
end
|
||||
|
||||
test "should load the summary" do
|
||||
@ -24,7 +24,7 @@ class QuestionFlowTest < ActionDispatch::IntegrationTest
|
||||
|
||||
get question_path(question.id)
|
||||
assert_response :success
|
||||
assert_select 'div', question.question
|
||||
assert_select 'h1', question.question
|
||||
end
|
||||
|
||||
test 'juan should be on summary with 80% complete' do
|
||||
|
@ -8,7 +8,7 @@ class QuestionLiveCoderTest < ActionDispatch::IntegrationTest
|
||||
|
||||
get question_path(question.id)
|
||||
assert_response :success
|
||||
assert_select 'div', question.question
|
||||
assert_select 'h1', question.question
|
||||
end
|
||||
|
||||
test "should load seed data into live coder" do
|
||||
|
Reference in New Issue
Block a user