Skip to content

Instantly share code, notes, and snippets.

@v-kolesnikov
Created March 8, 2018 19:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save v-kolesnikov/a1a2b21a95f12017cc27791c3b085f7c to your computer and use it in GitHub Desktop.
Save v-kolesnikov/a1a2b21a95f12017cc27791c3b085f7c to your computer and use it in GitHub Desktop.
Ruby timezone invariable tests
require 'faker'
RSpec.configure do |config|
config.before do
ENV['TZ'] = Faker::Address.time_zone
end
end
@TheSmartnik
Copy link

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment