Skip to content

Commit

Permalink
Merge pull request #18719 from 5t111111/add-fix-for-loading-fixtures-…
Browse files Browse the repository at this point in the history
…in-engine-tests

Add fix for loading fixtures in engine tests (additional fix for #4971)

Conflicts:
	railties/lib/rails/generators/rails/plugin/templates/test/test_helper.rb
  • Loading branch information
senny committed Jan 29, 2015
2 parents d88f4bc + 0176aef commit de3d615
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@
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.fixtures :all
end

0 comments on commit de3d615

Please sign in to comment.