mirror of
https://github.com/github/rails.git
synced 2026-01-31 09:18:17 -05:00
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:
@@ -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 @@ 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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user