Skip to content

Commit

Permalink
Comment out DatabaseCleaner
Browse files Browse the repository at this point in the history
  • Loading branch information
avinhurry committed Sep 2, 2024
1 parent c5e6a9b commit 5cc291f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/rails_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@

# start by truncating all the tables but then use the faster transaction strategy the rest of the time.
config.before(:suite) do
DatabaseCleaner.clean_with(:truncation)
DatabaseCleaner.strategy = :transaction
# DatabaseCleaner.clean_with(:truncation)
# DatabaseCleaner.strategy = :transaction
end

# start the transaction strategy as examples are run
Expand Down

0 comments on commit 5cc291f

Please sign in to comment.