Skip to content
Extraits de code Groupes Projets
  • Matt Jankowski's avatar
    b155e6cc
    Fix issue with intermittent api/v1/notifications failure (#1606) · b155e6cc
    Matt Jankowski a rédigé
    The spec was checking the activity_id of the activities held in notifications
    within the controller.
    
    Because the activities are different models, it is possible that they are
    created with the same database IDs, and when they are this spec fails because an
    activity which should not count as a match is counted as one.
    b155e6cc
    Historique
    Fix issue with intermittent api/v1/notifications failure (#1606)
    Matt Jankowski a rédigé
    The spec was checking the activity_id of the activities held in notifications
    within the controller.
    
    Because the activities are different models, it is possible that they are
    created with the same database IDs, and when they are this spec fails because an
    activity which should not count as a match is counted as one.