Browse Source

Fix feature tests

pull/2561/head
Manny Dinssa 2 years ago
parent
commit
1ce609f8ca
  1. 2
      spec/features/schemes_spec.rb

2
spec/features/schemes_spec.rb

@ -766,8 +766,10 @@ RSpec.describe "Schemes scheme Features" do
before do before do
Timecop.freeze(Time.zone.local(2023, 10, 10)) Timecop.freeze(Time.zone.local(2023, 10, 10))
Singleton.__init__(FormHandler)
FactoryBot.create(:location_deactivation_period, deactivation_date: Time.zone.local(2022, 6, 4), location: deactivated_location) FactoryBot.create(:location_deactivation_period, deactivation_date: Time.zone.local(2022, 6, 4), location: deactivated_location)
Timecop.unfreeze Timecop.unfreeze
Singleton.__init__(FormHandler)
click_link(scheme.service_name) click_link(scheme.service_name)
end end

Loading…
Cancel
Save