aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2013-03-29 15:30:04 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2013-04-03 12:16:18 -0400
commit62a080309bf4c2fde377cf37aecce38b9818d423 (patch)
tree19582bb44ded3236936467e878b8d1d46a6255e5 /railties/lib
parentdb924e1257f37dff441fee7c6e2bbd8ba382d7a6 (diff)
downloadrails-62a080309bf4c2fde377cf37aecce38b9818d423.tar.gz
rails-62a080309bf4c2fde377cf37aecce38b9818d423.tar.bz2
rails-62a080309bf4c2fde377cf37aecce38b9818d423.zip
apps that depend on active record should load fixtures
Diffstat (limited to 'railties/lib')
-rw-r--r--railties/lib/rails/generators/rails/app/templates/test/test_helper.rb5
1 files changed, 2 insertions, 3 deletions
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 ca40914d3b..4fd060341e 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
@@ -6,12 +6,11 @@ class ActiveSupport::TestCase
<% unless options[:skip_active_record] -%>
ActiveRecord::Migration.check_pending!
- # Uncomment the `fixtures :all` line below to setup all fixtures in test/fixtures/*.yml
- # for all tests in alphabetical order.
+ # 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
+ fixtures :all
<% end -%>
# Add more helper methods to be used by all tests here...