spec/spec_helper.rb in nulogy_sso-1.0.0 vs spec/spec_helper.rb in nulogy_sso-2.0.0
- old
+ new
@@ -1,6 +1,7 @@
# frozen_string_literal: true
+require 'active_support/testing/time_helpers'
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
RSpec.configure do |config|
config.expect_with :rspec do |expectations|
# This option will default to `true` in RSpec 4
@@ -38,6 +39,8 @@
config.order = :random
# Seed global randomization in this process using the `--seed` CLI option.
Kernel.srand config.seed
+
+ config.include ActiveSupport::Testing::TimeHelpers
end