it "is invalid if allegations phase is enabled but allegations_end_date is not present" do
      process = build(:legislation_process, allegations_phase_enabled: true, allegations_end_date: "")

      expect(process).not_to be_valid
      expect(process.errors.messages[:allegations_end_date]).to include("can't be blank")