Browse Source

remove unnecessary singleton reinitialisation

pull/1420/head
Arthur Campbell 3 years ago
parent
commit
ee0b6adcfd
  1. 3
      spec/models/form_handler_spec.rb

3
spec/models/form_handler_spec.rb

@ -9,8 +9,6 @@ RSpec.describe FormHandler do
Singleton.__init__(described_class) Singleton.__init__(described_class)
example.run example.run
end end
Timecop.return
Singleton.__init__(described_class)
end end
context "when accessing a form in a different year" do context "when accessing a form in a different year" do
@ -44,7 +42,6 @@ RSpec.describe FormHandler do
Singleton.__init__(described_class) Singleton.__init__(described_class)
example.run example.run
end end
Singleton.__init__(described_class)
end end
it "does not load outdated forms" do it "does not load outdated forms" do

Loading…
Cancel
Save