task_controller_test.rb

来自「RubyonRailsC.zip ruby on rails的源码」· RB 代码 · 共 19 行

RB
19
字号
require File.dirname(__FILE__) + '/../test_helper'require 'task_controller'# Re-raise errors caught by the controller.class TaskController; def rescue_action(e) raise e end; endclass TaskControllerTest < Test::Unit::TestCase  def setup    @controller = TaskController.new    @request    = ActionController::TestRequest.new    @response   = ActionController::TestResponse.new  end  # Replace this with your real tests.  def test_truth    assert true  endend

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?