From ec4989618ec08d20024a05500bea088514fbdfd4 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 1 Oct 2007 02:08:15 +0000 Subject: 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 --- .../generators/components/resource/templates/functional_test.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'railties/lib/rails_generator/generators/components/resource/templates') diff --git a/railties/lib/rails_generator/generators/components/resource/templates/functional_test.rb b/railties/lib/rails_generator/generators/components/resource/templates/functional_test.rb index 32bc2cab2b..47697816f3 100644 --- a/railties/lib/rails_generator/generators/components/resource/templates/functional_test.rb +++ b/railties/lib/rails_generator/generators/components/resource/templates/functional_test.rb @@ -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 -- cgit v1.2.3