Sha256: 802c844365b2b38a6ccec9cd4781dd2487262add511d13b4cfa1300b20f0c2d6

Contents?: true

Size: 524 Bytes

Versions: 32

Compression:

Stored size: 524 Bytes

Contents

require File.dirname(__FILE__) + '<%= '/..' * class_nesting_depth %>/../test_helper'

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

class <%= class_name %>ControllerTest < Test::Unit::TestCase
  def setup
    @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

32 entries across 32 versions & 4 rubygems

Version Path
kdmny-spree-0.0.1 lib/generators/extension_controller/templates/functional_test.rb
spree-enriquez-0.9.4 lib/generators/extension_controller/templates/functional_test.rb
spree-0.9.4 lib/generators/extension_controller/templates/functional_test.rb
spree-0.9.3 lib/generators/extension_controller/templates/functional_test.rb
spree-0.9.2 lib/generators/extension_controller/templates/functional_test.rb
spree-0.9.1 lib/generators/extension_controller/templates/functional_test.rb
spree-0.9.0 lib/generators/extension_controller/templates/functional_test.rb
spree-0.8.4 lib/generators/extension_controller/templates/functional_test.rb
spree-0.8.5 lib/generators/extension_controller/templates/functional_test.rb
radiant-0.6.1 lib/generators/extension_controller/templates/functional_test.rb
radiant-0.6.0 lib/generators/extension_controller/templates/functional_test.rb
radiant-0.6.2 lib/generators/extension_controller/templates/functional_test.rb
radiant-0.6.3 lib/generators/extension_controller/templates/functional_test.rb
radiant-0.6.4 lib/generators/extension_controller/templates/functional_test.rb
radiant-0.6.5.1 lib/generators/extension_controller/templates/functional_test.rb
radiant-0.6.5 lib/generators/extension_controller/templates/functional_test.rb
radiant-0.6.7 lib/generators/extension_controller/templates/functional_test.rb
radiant-0.6.6 lib/generators/extension_controller/templates/functional_test.rb
radiant-0.6.8 lib/generators/extension_controller/templates/functional_test.rb
radiant-0.6.9 lib/generators/extension_controller/templates/functional_test.rb