Removed calls to fixtures in generated tests as fixtures :all is now present by default in test_helper.rb [DHH]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7705 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
David Heinemeier Hansson
2007-10-01 02:08:15 +00:00
parent 4af5dbbfcc
commit ec4989618e
5 changed files with 5 additions and 8 deletions

View File

@@ -1,3 +1,8 @@
*SVN*
* Removed calls to fixtures in generated tests as fixtures :all is now present by default in test_helper.rb [DHH]
*2.0.0 [Preview Release]* (September 29th, 2007) [Includes duplicates of changes from 1.1.4 - 1.2.3]
* Fixed that installing plugins from SVN repositories that use trunk/ will work #8188 [evan]

View File

@@ -1,8 +1,6 @@
require File.dirname(__FILE__) + '<%= '/..' * class_nesting_depth %>/../test_helper'
class <%= class_name %>Test < Test::Unit::TestCase
fixtures :<%= table_name %>
# Replace this with your real tests.
def test_truth
assert true

View File

@@ -1,8 +1,6 @@
require File.dirname(__FILE__) + '<%= '/..' * class_nesting_depth %>/../test_helper'
class <%= class_name %>ObserverTest < Test::Unit::TestCase
fixtures :<%= table_name %>
# Replace this with your real tests.
def test_truth
assert true

View File

@@ -5,8 +5,6 @@ require '<%= controller_file_path %>_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

View File

@@ -5,8 +5,6 @@ require '<%= controller_file_path %>_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