require 'test_helper' class ProblemsControllerTest < ActionController::TestCase test "should get index" do get :index assert_response :success end test "should get show" do get :show, id: 1 assert_response :success end end