Sha256: 9c63d82f56616607a4d9876c7fb716c0e590bef3333bb6d3a6df20f1b1414a28

Contents?: true

Size: 440 Bytes

Versions: 1

Compression:

Stored size: 440 Bytes

Contents

require File.join(File.dirname(__FILE__), "..", "test_helper")

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

class <%= full_class_name %>Test < Test::Unit::TestCase

  def setup
    @controller = <%= full_class_name %>.build(fake_request)
    @controller.dispatch('index')
  end

  # Replace this with your real tests.
  def test_should_be_setup
    assert false
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
thorero-gen-0.9.4 templates/component/controller/test/controllers/%file_name%_test.rb