diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2007-10-01 02:08:15 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2007-10-01 02:08:15 +0000 |
commit | ec4989618ec08d20024a05500bea088514fbdfd4 (patch) | |
tree | a17de6dcd309d041e06f333c89df4e993138128f /railties/lib/rails_generator/generators/components/resource/templates | |
parent | 4af5dbbfccdc4f83b43b4acac246c5e0d8f9199c (diff) | |
download | rails-ec4989618ec08d20024a05500bea088514fbdfd4.tar.gz rails-ec4989618ec08d20024a05500bea088514fbdfd4.tar.bz2 rails-ec4989618ec08d20024a05500bea088514fbdfd4.zip |
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
Diffstat (limited to 'railties/lib/rails_generator/generators/components/resource/templates')
-rw-r--r-- | railties/lib/rails_generator/generators/components/resource/templates/functional_test.rb | 2 |
1 files changed, 0 insertions, 2 deletions
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 |