summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-08-19 16:57:25 +0800
committerLin Jen-Shin <godfat@godfat.org>2016-08-19 16:57:25 +0800
commitf3e8b8881463bd30aa50085a45f5db96d400d3e7 (patch)
tree72d2f8ba190869be8db9174255eb0efdbe07126d /spec/spec_helper.rb
parentec4549e4b5ffcc608041fd7f71cf0aa8dc18151f (diff)
downloadgitlab-ce-f3e8b8881463bd30aa50085a45f5db96d400d3e7.tar.gz
Use travel_to instead of dependency injection, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5734#note_14056642
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 2e2aa7c4fc0..c144cd85487 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -33,6 +33,7 @@ RSpec.configure do |config|
config.include EmailHelpers
config.include TestEnv
config.include ActiveJob::TestHelper
+ config.include ActiveSupport::Testing::TimeHelpers
config.include StubGitlabCalls
config.include StubGitlabData