Allow tests to run on Windows

Windows does not natively supply timezone info.
Install the tzinfo-data gem for Windows platforms.
This commit is contained in:
Chris Howlett 2014-10-06 13:07:37 +01:00
parent 3c1ef4d15d
commit 4200ed5faa
1 changed files with 3 additions and 0 deletions

View File

@ -7,6 +7,9 @@ rails = ENV['RAILS'] || 'master'
gem 'polyamorous', '~> 1.1'
# Provide timezone information on Windows
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw]
case rails
when /\// # A path
gem 'activesupport', path: "#{rails}/activesupport"