summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-08-11 12:36:03 +0200
committerRémy Coutable <remy@rymai.me>2017-08-11 14:53:17 +0200
commit1b413bd62fa07930298874dff7477c239d7ab80f (patch)
tree73b3f74a47e87ab9d377aa3cb2ed47d83422a516 /spec/spec_helper.rb
parentc62ae6cfd70d518386fdbcb9714d18ac4f5e8c31 (diff)
downloadgitlab-ce-1b413bd62fa07930298874dff7477c239d7ab80f.tar.gz
Enable Timecop safe mode32004-use-timecop-safe-mode
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 0ba6ed56314..3bece3ab720 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -70,6 +70,7 @@ RSpec.configure do |config|
config.raise_errors_for_deprecations!
config.before(:suite) do
+ Timecop.safe_mode = true
TestEnv.init
end