Skip to content

Commit

Permalink
fixed time zone spec
Browse files Browse the repository at this point in the history
  • Loading branch information
emerencia committed Feb 29, 2020
1 parent 84bf72a commit b077a8c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/rails_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
# Prevent database truncation if the environment is production
abort('The Rails environment is running in production mode!') if Rails.env.production?

ENV['TZ'] = 'Europe/Amsterdam' # Fix for the selenium webbrowser not being in the correct timezone

require 'rspec/rails'
require 'database_cleaner'
require 'database_cleaner/active_record'
Expand Down

0 comments on commit b077a8c

Please sign in to comment.