diff options
author | Prathamesh Sonpatki <csonpatki@gmail.com> | 2016-07-12 22:45:58 +0530 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2017-04-26 22:54:54 -0700 |
commit | 16ef8482699f3c23eb7c01123779484bdbfa2fa0 (patch) | |
tree | 5d747e4b0da7769935225674cf34c970f5dca3d0 /actioncable/test/stubs/user.rb | |
parent | 142195051268abd6d5f38c17eaf1acd72a5b058d (diff) | |
download | rails-16ef8482699f3c23eb7c01123779484bdbfa2fa0.tar.gz rails-16ef8482699f3c23eb7c01123779484bdbfa2fa0.tar.bz2 rails-16ef8482699f3c23eb7c01123779484bdbfa2fa0.zip |
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.
Diffstat (limited to 'actioncable/test/stubs/user.rb')
0 files changed, 0 insertions, 0 deletions