Sha256: 42c2945cc5c6cf22630b602066a955d636fe99de415fd2e42988580bda2994a1

Contents?: true

Size: 516 Bytes

Versions: 3

Compression:

Stored size: 516 Bytes

Contents

require File.dirname(__FILE__) + '/../test_helper'
require '<%= file_name %>_controller'

# Re-raise errors caught by the controller.
class <%= class_name %>Controller; def rescue_action(e) raise e end; end

class <%= class_name %>ControllerTest < Test::Unit::TestCase
  def setup
    @controller = <%= class_name %>Controller.new
    @request, @response = ActionController::TestRequest.new, ActionController::TestResponse.new
  end

  # Replace this with your real tests.
  def test_truth
    assert true
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rails-0.9.2 generators/controller/templates/functional_test.rb
rails-0.9.0 generators/controller/templates/functional_test.rb
rails-0.9.1 generators/controller/templates/functional_test.rb