Skip to content

Commit

Permalink
Fixes #11813 - Use new engines listing syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
dLobatog authored and ohadlevy committed Sep 17, 2015
1 parent 480b571 commit 978c5fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ class ActionView::TestCase
helper Rails.application.routes.url_helpers
end

Rails.application.railties.engines.each do |engine|
::Rails::Engine.subclasses.map(&:instance).each do |engine|
support_file = "#{engine.root}/test/support/foreman_test_helper_additions.rb"
require support_file if File.exist?(support_file)
end
Expand Down

0 comments on commit 978c5fd

Please sign in to comment.