Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion spec/dummy/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ class Application < Rails::Application
config.secret_token = "SECRET_TOKEN_IS_MIN_30_CHARS_LONG"
config.secret_key_base = "SECRET_KEY_BASE"

config.active_support.to_time_preserves_timezone = :zone
if Rails.gem_version < Gem::Version.new("8.1")
config.active_support.to_time_preserves_timezone = :zone
end

def require_environment!
initialize!
Expand Down
1 change: 1 addition & 0 deletions spec/dummy/config/initializers/high_voltage.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@

HighVoltage.configure do |config|
config.layout = false
config.routes = false
end