diff --git a/lib/sprockets/railtie.rb b/lib/sprockets/railtie.rb index 7058a19a..5f579e9c 100644 --- a/lib/sprockets/railtie.rb +++ b/lib/sprockets/railtie.rb @@ -222,7 +222,7 @@ def self.build_manifest(app) if config.assets.compile app.assets = self.build_environment(app, true) app.routes.prepend do - mount app.assets => config.assets.prefix + mount app.assets, at: config.assets.prefix end end diff --git a/test/test_quiet_assets.rb b/test/test_quiet_assets.rb index 1a07b806..cca29413 100644 --- a/test/test_quiet_assets.rb +++ b/test/test_quiet_assets.rb @@ -21,6 +21,7 @@ def setup @app = Class.new(Rails::Application) @app.config.eager_load = false @app.config.logger = ActiveSupport::Logger.new("/dev/null") + @app.config.active_support.to_time_preserves_timezone = :zone FileUtils.mkdir_p(ASSET_PATH) File.open(ASSET_PATH.join("manifest.js"), "w") { |f| f << "" }