diff options
author | Neeraj Singh <neerajdotname@gmail.com> | 2013-07-28 16:51:55 +0530 |
---|---|---|
committer | Neeraj Singh <neerajdotname@gmail.com> | 2013-07-28 16:51:55 +0530 |
commit | 4cf4ea506def9a3e36cc90a2b0e073cbb8fc43df (patch) | |
tree | c4ed6ebc8f1b5c0684ce9c2277d4d5dba0b480d4 /activerecord/test/cases/validations_test.rb | |
parent | bffda1e65e41c77c6c7fc8053feee6dddd0900ef (diff) | |
download | rails-4cf4ea506def9a3e36cc90a2b0e073cbb8fc43df.tar.gz rails-4cf4ea506def9a3e36cc90a2b0e073cbb8fc43df.tar.bz2 rails-4cf4ea506def9a3e36cc90a2b0e073cbb8fc43df.zip |
make test not depend on order
`NestedThroughAssociationsTest` adds records to `member_details` table.
When test performs `@member_details[0]` then the order of record
is not guaranteed. Hence it is best to start with a clean slate by
deleting unwanted records.
Diffstat (limited to 'activerecord/test/cases/validations_test.rb')
0 files changed, 0 insertions, 0 deletions