Skip to content

Commit

Permalink
Use rails in_time_zone
Browse files Browse the repository at this point in the history
  • Loading branch information
gangelo committed Dec 23, 2023
1 parent 2c7aed1 commit 5a3f1cf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@
Time.zone = 'Eastern Time (US & Canada)'
end

config.around do |example|
Time.use_zone(Time.zone) do
example.run
end
end

config.include ColorThemeHelpers
config.include StdxxxHelpers
config.include TimeHelpers
Expand Down

0 comments on commit 5a3f1cf

Please sign in to comment.