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

      expect(process).not_to be_valid