Skip to content

Commit

Permalink
Load tzinfo-data when testing on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jmettraux committed Feb 20, 2021
1 parent 8200330 commit 8eb238d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile.windows
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ source 'https://rubygems.org'
#gem 'tzinfo-data', '1.2019.1'
#gem 'tzinfo', '1.2.5'

gem 'tzinfo-data'
gem 'chronic'

gemspec
Expand Down
4 changes: 4 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
require 'pp'

require 'chronic'
#
p defined?(Chronic)
p defined?(::Chronic)
#
::Khronic = ::Chronic
Object.send(:remove_const, :Chronic)

Expand Down

0 comments on commit 8eb238d

Please sign in to comment.