mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #20714 from y-yagi/fix_file_fixture_path
correct `file_fixture_path` in plugins `test_helper.rb`
This commit is contained in:
commit
79fc70f413
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue