trabajo-afectivo/spec/support/time_helper.rb

10 lines
208 B
Ruby
Raw Normal View History

RSpec.configure do |config|
# make usage of time travel helpers possible
config.include ActiveSupport::Testing::TimeHelpers
# avoid stuck time issues
config.after(:each) do
travel_back
end
end