require 'test_helper' class ZipdownControllerTest < ActionController::TestCase def setup login end test "能够正常下载学生作业" do get 'download_user_homework', {homework:861} assert response.response_code == 200 puts response end end