Skip to content

Commit

Permalink
Fix flakey spec
Browse files Browse the repository at this point in the history
  • Loading branch information
vacabor committed Jul 29, 2024
1 parent 2aa4921 commit 0e39439
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions spec/jobs/import_early_years_data_job_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@
it "associates local authourity correctly" do
upload

expect(EarlyYearsData.first.nursery_name).to eq("Test Nursery")
expect(EarlyYearsData.first.local_authority).to eq(local_authority)
nursery = EarlyYearsData.find_by_urn("1234567")
expect(nursery.nursery_name).to eq("Test Nursery")
expect(nursery.local_authority).to eq(local_authority)
end
end

Expand Down

0 comments on commit 0e39439

Please sign in to comment.