From 36e3ca6cc526d867613b8dd76026bf2b2c5dd4a4 Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Sun, 25 May 2014 00:43:31 +0200 Subject: integration tests do not need to load fixtures by hand I don't know when this changed, checked back up to 3.2 and integration tests instantiate fixtures just fine. --- railties/lib/rails/generators/rails/app/templates/test/test_helper.rb | 3 --- 1 file changed, 3 deletions(-) (limited to 'railties') diff --git a/railties/lib/rails/generators/rails/app/templates/test/test_helper.rb b/railties/lib/rails/generators/rails/app/templates/test/test_helper.rb index 6b011e577a..87b8fe3516 100644 --- a/railties/lib/rails/generators/rails/app/templates/test/test_helper.rb +++ b/railties/lib/rails/generators/rails/app/templates/test/test_helper.rb @@ -5,9 +5,6 @@ require 'rails/test_help' class ActiveSupport::TestCase <% unless options[:skip_active_record] -%> # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order. - # - # Note: You'll currently still have to declare fixtures explicitly in integration tests - # -- they do not yet inherit this setting fixtures :all <% end -%> -- cgit v1.2.3