Closed oboxodo closed 3 years ago
Merging #682 (22d4753) into main (a8cfc85) will not change coverage. The diff coverage is
n/a
.:exclamation: Current head 22d4753 differs from pull request most recent head 58b25aa. Consider uploading reports for the commit 58b25aa to get more accurate results
@@ Coverage Diff @@
## main #682 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 19 19
Lines 674 674
=========================================
Hits 674 674
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update a8cfc85...58b25aa. Read the comment docs.
For me, it worked this way to:
DatabaseCleaner[:active_record].strategy = :transaction
DatabaseCleaner.clean_with(:deletion, except: %w(templates))
Either one way or another, it is incorrectly documented and needs to be corrected!
Thank you, @oboxodo!
The existing docs lead to non-working code at least with Ruby 2.7.
We need to either make the Array or the Hash explicit in order for it to work: