File: lib/generators/extension_controller/templates/functional_test.rb

Code

Code

   1  require File.dirname(__FILE__) + '<%= '/..' * class_nesting_depth %>/../test_helper'
   2 
   3  # Re-raise errors caught by the controller.
   4  <%= class_name %>Controller.class_eval { def rescue_action(e) raise e end }
   5 
   6  class <%= class_name %>ControllerTest < ActionController::TestCase
   7    # Replace this with your real tests.
   8    def test_truth
   9      assert true
  10    end
  11  end