Skip to content

Commit 74fa3ea

Browse files
Don't add specific id's to the readers fixtures
- This causes failures in the `test_create_resets_cached_counters` from the has_many_associations tests because sometimes a Post record gets created with id as 1 so the readers records get associated with it and `person.readers` returns these 2 records instead of empty array. - Better to just remove the ids.
1 parent f643d7c commit 74fa3ea

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
michael_welcome:
2-
id: 1
32
post_id: 1
43
person_id: 1
54
first_post_id: 2
65

76
michael_authorless:
8-
id: 2
97
post_id: 3
108
person_id: 1
119
first_post_id: 3

0 commit comments

Comments
 (0)