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

Version Path
jstorimer-deep-test-2.0.0 sample_rails_project/vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/functional_test.rb
jstorimer-deep-test-1.4.0 sample_rails_project/vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/functional_test.rb
jstorimer-deep-test-1.3.0 sample_rails_project/vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/functional_test.rb
jstorimer-deep-test-1.2.0 sample_rails_project/vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/functional_test.rb
jstorimer-deep-test-1.1.0 sample_rails_project/vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/functional_test.rb
jstorimer-deep-test-1.0.0 sample_rails_project/vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/functional_test.rb
jstorimer-deep-test-0.2.0 sample_rails_project/vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/functional_test.rb
jstorimer-deep-test-0.1.0 sample_rails_project/vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/functional_test.rb
authorails-1.0.0 lib/rails_generator/generators/components/resource/templates/functional_test.rb
backlog-0.0.0 vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/functional_test.rb
backlog-0.0.1 vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/functional_test.rb
backlog-0.0.2 vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/functional_test.rb
backlog-0.0.4 vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/functional_test.rb
backlog-0.0.5 vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/functional_test.rb
backlog-0.1.0 vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/functional_test.rb
backlog-0.1.1 vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/functional_test.rb
backlog-0.1.2 vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/functional_test.rb
backlog-0.2.0 vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/functional_test.rb
backlog-0.2.1 vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/functional_test.rb
backlog-0.3.0 vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/functional_test.rb