Skip to content

Fix flaky test #734

@connorshea

Description

@connorshea
Randomized with seed 47487
                                                                                                                                    
  1) Event User Relationship Event Destructions Event should be deleted when Relationship is deleted
     Failure/Error: let(:relationship_followed) { create(:relationship, followed: user) }
     
     ActiveRecord::RecordInvalid:
       Validation failed: Follower has already been taken
     # ./spec/models/event_spec.rb:118:in `block (3 levels) in <top (required)>'
     # ./spec/models/event_spec.rb:131:in `block (3 levels) in <top (required)>'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions