Skip to content

Flakey editor api Seed test #727

@adrian-rpf

Description

@adrian-rpf

We should investigate the cause and either fix or add additional logging to help us understand why this might be happening

  1) test_seeds :seed_a_school_with_lessons_and_students creates class with lessons for the owner
     Failure/Error: expect(Lesson.where(school_id:, school_class_id: school_class.id).length).to eq(2)

       expected: 2
            got: 4

       (compared using ==)
     # ./spec/lib/test_seeds_spec.rb:67:in 'block (3 levels) in <top (required)>'
     # ./spec/rails_helper.rb:108:in 'block (3 levels) in <top (required)>'
     # ./spec/rails_helper.rb:106:in 'block (2 levels) in <top (required)>'

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions