diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-08-19 16:57:25 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-08-19 16:57:25 +0800 |
commit | f3e8b8881463bd30aa50085a45f5db96d400d3e7 (patch) | |
tree | 72d2f8ba190869be8db9174255eb0efdbe07126d /spec/spec_helper.rb | |
parent | ec4549e4b5ffcc608041fd7f71cf0aa8dc18151f (diff) | |
download | gitlab-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.rb | 1 |
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 |