mirror of
				https://github.com/redmine/redmine.git
				synced 2025-10-31 02:15:52 +01:00 
			
		
		
		
	
		
			
	
	
		
			19 lines
		
	
	
		
			466 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
		
		
			
		
	
	
			19 lines
		
	
	
		
			466 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
|  | require File.dirname(__FILE__) + '/../test_helper' | ||
|  | require 'my_controller' | ||
|  | 
 | ||
|  | # Re-raise errors caught by the controller. | ||
|  | class MyController; def rescue_action(e) raise e end; end | ||
|  | 
 | ||
|  | class MyControllerTest < Test::Unit::TestCase | ||
|  |   def setup | ||
|  |     @controller = MyController.new | ||
|  |     @request    = ActionController::TestRequest.new | ||
|  |     @response   = ActionController::TestResponse.new | ||
|  |   end | ||
|  | 
 | ||
|  |   # Replace this with your real tests. | ||
|  |   def test_truth | ||
|  |     assert true | ||
|  |   end | ||
|  | end |