move /review to /admin/results
This commit is contained in:
@ -20,10 +20,9 @@ class QuestionAttachmentsTest < ActionDispatch::IntegrationTest
|
||||
end
|
||||
|
||||
test "should show attachments on review" do
|
||||
user = users :reviewer
|
||||
post review_auth_url, params: { auth: { email: user.email, password: 'password' } }
|
||||
auth_reviewer
|
||||
|
||||
get review_test_path(candidates(:richard).test_hash)
|
||||
get admin_result_path(candidates(:richard).test_hash)
|
||||
assert_response :success
|
||||
assert_select "img[src=\"#{questions(:fed6).attachment}\"]"
|
||||
end
|
||||
|
Reference in New Issue
Block a user