At Marshall and Lily's wedding, Barney discovers that Ted and Robin have a secret that they have been hiding for weeks.