Skip to content

Commit 6c973a7

Browse files
committed
fix(test): deeply dupped flaky test
This test was failing due to missing a column in the model. We fix it by resetting the cache after adding the column. Signed-off-by: Ulysse Buonomo <[email protected]>
1 parent 1ca4c38 commit 6c973a7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/cases/fixtures_test.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,8 @@ def teardown
386386
end
387387

388388
recreate_parrots
389+
390+
ActiveRecord::FixtureSet.reset_cache # make sure tables get reinitialized
389391
end
390392

391393
# This replaces the same test that's been excluded from

0 commit comments

Comments
 (0)