Skip to content

Commit f4be207

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 6c973a7 commit f4be207

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/cases/fixtures_test.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,9 @@ def teardown
387387

388388
recreate_parrots
389389

390-
ActiveRecord::FixtureSet.reset_cache # make sure tables get reinitialized
390+
Account.reset_column_information
391+
Company.reset_column_information
392+
Course.reset_column_information
391393
end
392394

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

0 commit comments

Comments
 (0)