Browse Source

CLDC-4115: Ensure form is loaded correctly before testing locations

pull/3149/head
Samuel Young 4 weeks ago
parent
commit
3dae3df216
  1. 1
      spec/helpers/locations_helper_spec.rb

1
spec/helpers/locations_helper_spec.rb

@ -59,6 +59,7 @@ RSpec.describe LocationsHelper do
before do
allow(Time).to receive(:now).and_return(today)
allow(FormHandler.instance).to receive(:lettings_in_crossover_period?).and_return(true)
Singleton.__init__(FormHandler)
end
it "returns one active period without to date" do

Loading…
Cancel
Save