Rolf Schmidt
|
0b09063197
Maintenance: Improve performance for db_strategy reset on postgresql.
|
3 лет назад |
Thorsten Eckel
|
b538b05209
Switched over to DB reset strategy in tests and removed DatabaseCleaner because it can't guarantee a clean DB state for all test scenarios.
|
6 лет назад |
Thorsten Eckel
|
02ba0e455e
Added db_strategy (:truncaction) meta helper to switch to DB cleanup via truncation (from transaction) for single examples. We choose to stick to Rails/RSpec transactional cleanup over DatabaseCleaner transaction strategy because of performance reasons. Rails default performs between 30 and 50% better.
|
6 лет назад |