Permalink
Browse files

You dont need to explicitly declare which controller youre testing wh…

…en you follow the naming convention

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8244 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent ea59e9d commit b6d255559eeead2b95f6c5e4035f4b82d2b88355 @dhh dhh committed Nov 30, 2007
@@ -1,8 +1,6 @@
require File.dirname(__FILE__) + '<%= '/..' * class_nesting_depth %>/../test_helper'
class <%= class_name %>ControllerTest < ActionController::TestCase
- tests <%= class_name %>Controller
-
# Replace this with your real tests.
def test_truth
assert true
@@ -1,8 +1,6 @@
require File.dirname(__FILE__) + '<%= '/..' * class_nesting_depth %>/../test_helper'
class <%= controller_class_name %>ControllerTest < ActionController::TestCase
- tests <%= controller_class_name %>Controller
-
# Replace this with your real tests.
def test_truth
assert true
@@ -1,8 +1,6 @@
require File.dirname(__FILE__) + '<%= '/..' * class_nesting_depth %>/../test_helper'
class <%= controller_class_name %>ControllerTest < ActionController::TestCase
- tests <%= controller_class_name %>Controller
-
def test_should_get_index
get :index
assert_response :success

0 comments on commit b6d2555

Please sign in to comment.