Created
March 8, 2018 19:57
-
-
Save v-kolesnikov/a1a2b21a95f12017cc27791c3b085f7c to your computer and use it in GitHub Desktop.
Ruby timezone invariable tests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'faker' | |
RSpec.configure do |config| | |
config.before do | |
ENV['TZ'] = Faker::Address.time_zone | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
👍