diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2015-06-27 10:57:35 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2015-06-27 10:57:35 +0900 |
commit | 5469d9e1c49156e7e3463985912c56eb695deae1 (patch) | |
tree | f9618520fe19d1f0715d64098957dd4a20e7bd87 /railties | |
parent | 204c45e4be6e031c19d45e11dff77ecfed380773 (diff) | |
download | rails-5469d9e1c49156e7e3463985912c56eb695deae1.tar.gz rails-5469d9e1c49156e7e3463985912c56eb695deae1.tar.bz2 rails-5469d9e1c49156e7e3463985912c56eb695deae1.zip |
correct `file_fixture_path` in plugins `test_helper.rb`
`fixture_path` does not end with a slash
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/generators/rails/plugin/templates/test/test_helper.rb | 2 |
1 files changed, 1 insertions, 1 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 0852ffce9a..95adcc06ff 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,6 +20,6 @@ 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" + ActiveSupport::TestCase.file_fixture_path = ActiveSupport::TestCase.fixture_path + "/files" ActiveSupport::TestCase.fixtures :all end |