Sha256: 7fe3d73d90a188509348d133eff3ab8d479899a6b0153ad127b27e2dcfedaac5

Contents?: true

Size: 361 Bytes

Versions: 42

Compression:

Stored size: 361 Bytes

Contents

require 'test_helper'

class <%= class_name %>ControllerTest < ActionController::TestCase
<% if actions.empty? -%>
  # Replace this with your real tests.
  test "the truth" do
    assert true
  end
<% else -%>
<% for action in actions -%>
  test "should get <%= action %>" do
    get :<%= action %>
    assert_response :success
  end

<% end -%>
<% end -%>
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
railties-3.0.20 lib/rails/generators/test_unit/controller/templates/functional_test.rb
railties-3.0.19 lib/rails/generators/test_unit/controller/templates/functional_test.rb
railties-3.0.18 lib/rails/generators/test_unit/controller/templates/functional_test.rb
railties-3.0.17 lib/rails/generators/test_unit/controller/templates/functional_test.rb
railties-3.0.16 lib/rails/generators/test_unit/controller/templates/functional_test.rb
railties-3.0.15 lib/rails/generators/test_unit/controller/templates/functional_test.rb
railties-3.0.14 lib/rails/generators/test_unit/controller/templates/functional_test.rb
railties-3.0.13 lib/rails/generators/test_unit/controller/templates/functional_test.rb
railties-3.0.13.rc1 lib/rails/generators/test_unit/controller/templates/functional_test.rb
railties-3.0.12 lib/rails/generators/test_unit/controller/templates/functional_test.rb
railties-3.0.12.rc1 lib/rails/generators/test_unit/controller/templates/functional_test.rb
railties-3.0.11 lib/rails/generators/test_unit/controller/templates/functional_test.rb
railties-3.0.10 lib/rails/generators/test_unit/controller/templates/functional_test.rb
railties-3.0.10.rc1 lib/rails/generators/test_unit/controller/templates/functional_test.rb
railties-3.0.9 lib/rails/generators/test_unit/controller/templates/functional_test.rb
railties-3.0.9.rc5 lib/rails/generators/test_unit/controller/templates/functional_test.rb
railties-3.0.9.rc4 lib/rails/generators/test_unit/controller/templates/functional_test.rb
railties-3.0.9.rc3 lib/rails/generators/test_unit/controller/templates/functional_test.rb
railties-3.0.9.rc1 lib/rails/generators/test_unit/controller/templates/functional_test.rb
railties-3.0.8 lib/rails/generators/test_unit/controller/templates/functional_test.rb