Permalink
Browse files

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
  • Loading branch information...
1 parent 4af5dbb commit ec4989618ec08d20024a05500bea088514fbdfd4 @dhh dhh committed Oct 1, 2007
View
@@ -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]
@@ -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
@@ -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
@@ -5,8 +5,6 @@
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
@@ -5,8 +5,6 @@
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

0 comments on commit ec49896

Please sign in to comment.