Browse Source

CLDC-4325: Run tests on 31st march

pull/3250/head
samyou-softwire 1 week ago
parent
commit
0a0335ea0c
  1. 8
      spec/spec_helper.rb

8
spec/spec_helper.rb

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

Loading…
Cancel
Save