Sha256: 4da1a7b62dbcab01a6d2581b9a771e59dbd4c035bc616ea86603fc1fc0b4fc6b
Contents?: true
Size: 645 Bytes
Versions: 87
Compression:
Stored size: 645 Bytes
Contents
require File.dirname(__FILE__) + '<%= '/..' * controller_class_nesting_depth %>/../test_helper' require '<%= controller_file_path %>_controller' # Re-raise errors caught by the controller. class <%= controller_class_name %>Controller; def rescue_action(e) raise e end; end class <%= controller_class_name %>ControllerTest < Test::Unit::TestCase fixtures :<%= table_name %> def setup @controller = <%= controller_class_name %>Controller.new @request = ActionController::TestRequest.new @response = ActionController::TestResponse.new end # Replace this with your real tests. def test_truth assert true end end
Version data entries
87 entries across 87 versions & 7 rubygems