Browse Source

CLDC-4363: Set date to 1st August

pull/3301/head
samyou-softwire 2 weeks ago
parent
commit
d0f77f6888
  1. 8
      spec/spec_helper.rb

8
spec/spec_helper.rb

@ -123,6 +123,14 @@ RSpec.configure do |config|
RequestHelper.real_http_requests RequestHelper.real_http_requests
Singleton.__init__(FormHandler) Singleton.__init__(FormHandler)
end end
config.around do |example|
Timecop.travel(Time.zone.local(2026, 8, 1))
Singleton.__init__(FormHandler)
example.run
Timecop.travel(Time.zone.local(2026, 8, 1))
Singleton.__init__(FormHandler)
end
end end
RSpec::Matchers.define_negated_matcher :not_change, :change RSpec::Matchers.define_negated_matcher :not_change, :change

Loading…
Cancel
Save