aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorWAKASUGI 5T111111 <baenej@gmail.com>2015-01-29 12:15:42 +0900
committerWAKASUGI 5T111111 <baenej@gmail.com>2015-01-29 12:15:42 +0900
commit0176aef1ebaa9f69001c7045a51727a8ea9b61b8 (patch)
treeb112af38504c2c4acbe25e5dd2f41c861264c4dd /railties
parent74c2961bd864f633c79c03e62c2cb142642201c5 (diff)
downloadrails-0176aef1ebaa9f69001c7045a51727a8ea9b61b8.tar.gz
rails-0176aef1ebaa9f69001c7045a51727a8ea9b61b8.tar.bz2
rails-0176aef1ebaa9f69001c7045a51727a8ea9b61b8.zip
Add fix for loading fixtures in engine tests
Diffstat (limited to 'railties')
-rw-r--r--railties/lib/rails/generators/rails/plugin/templates/test/test_helper.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/rails/plugin/templates/test/test_helper.rb b/railties/lib/rails/generators/rails/plugin/templates/test/test_helper.rb
index bf3da1fc4d..7d0ebf7da5 100644
--- a/railties/lib/rails/generators/rails/plugin/templates/test/test_helper.rb
+++ b/railties/lib/rails/generators/rails/plugin/templates/test/test_helper.rb
@@ -20,4 +20,5 @@ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
# Load fixtures from the engine
if ActiveSupport::TestCase.respond_to?(:fixture_path=)
ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
+ ActiveSupport::TestCase.fixtures :all
end