Browse Source

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

pull/3149/head
Samuel Young 4 weeks ago
parent
commit
4adb087aae
  1. 1
      spec/helpers/filters_helper_spec.rb

1
spec/helpers/filters_helper_spec.rb

@ -599,6 +599,7 @@ RSpec.describe FiltersHelper do
context "with 24/25 as the current collection year" do
before do
allow(Time).to receive(:now).and_return(Time.zone.local(2024, 5, 1))
Singleton.__init__(FormHandler)
end
it "has the correct options" do

Loading…
Cancel
Save