diff options
author | Yves Senn <yves.senn@gmail.com> | 2015-01-29 09:33:55 +0100 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2015-01-29 09:34:56 +0100 |
commit | d88f4bc1c1b5cae920cb76d571c3411ce3c41af2 (patch) | |
tree | 05247e1b138cc832c400d7004c588653dbd7b1e7 /railties/lib | |
parent | 80c30e4b8fa099a2bc747bb28990d3aafdf4f876 (diff) | |
download | rails-d88f4bc1c1b5cae920cb76d571c3411ce3c41af2.tar.gz rails-d88f4bc1c1b5cae920cb76d571c3411ce3c41af2.tar.bz2 rails-d88f4bc1c1b5cae920cb76d571c3411ce3c41af2.zip |
reassign `file_fixture_path` in plugins `test_helper.rb`. refs #18658.
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/generators/rails/plugin/templates/test/test_helper.rb | 1 |
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..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 |