From d88f4bc1c1b5cae920cb76d571c3411ce3c41af2 Mon Sep 17 00:00:00 2001 From: Yves Senn Date: Thu, 29 Jan 2015 09:33:55 +0100 Subject: reassign `file_fixture_path` in plugins `test_helper.rb`. refs #18658. --- railties/lib/rails/generators/rails/plugin/templates/test/test_helper.rb | 1 + 1 file changed, 1 insertion(+) 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..2bd6ffef72 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.file_fixture_path = ActiveSupport::TestCase.fixture_path + "files" end -- cgit v1.2.3