Skip to content

Commit

Permalink
Merge pull request #527 from etiennebarrie/prevent-regression-for-spr…
Browse files Browse the repository at this point in the history
…ockets-railtie

Prevent regressions with requiring sprockets/railtie
  • Loading branch information
rafaelfranca authored Jul 31, 2024
2 parents 90daf9c + 1d44fdc commit 5b0c81d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

require 'action_view'
require 'sprockets'
require 'sprockets/rails'
# Apps generated before Rails 7.0 without rails/all require sprockets/railtie, not sprockets/rails
# Same with other reverse dependencies like sassc-rails
require 'sprockets/railtie'
require 'sprockets/rails/context'
require 'sprockets/rails/helper'
require 'rails/version'
Expand Down

0 comments on commit 5b0c81d

Please sign in to comment.